| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 6 months |
| seen | Jun 13 at 20:57 | |
| stats | profile views | 13 |
|
Feb 27 |
comment |
Loop not displaying comments_popup_link Thank you! Realized it as well and gave up on the idea and used the normal wordpress loop. The advantage of the foreach loop is that it lets me separate logic and presentation. |
|
Feb 24 |
comment |
Wordpress loop: Display <div> if posts exist Thank you Jeremy! I found a working solution by using an if condition and foreach to grab the data stored in the $idspost array |
|
Feb 20 |
comment |
How to get permalink and title from post ID? Thank you! This works! |
|
Feb 20 |
comment |
How to get permalink and title from post ID? That works brilliantly! Thank you very much! |
|
Feb 19 |
comment |
How to use the thumbnail size with catch_that_image You may be able to accomplish what you want with the featured image function in the post. See codex.wordpress.org/Post_Thumbnails and codex.wordpress.org/Function_Reference/get_the_post_thumbnail to retrieve thumbnails in the loop. There is also a plugin called "Get the image" which does basically the same thing but I it may also use the large images to create the thumbnails. |
|
Feb 13 |
comment |
How to retrieve the slug of current page? Thank you. Your solution works great. Just need to echo the slug: <?php
global $post;
$post_slug=$post->post_name; echo $post_slug;
?> |
|
Feb 7 |
comment |
Non-threaded comment replies with link to original comment I have solved the problem after a lot of trial and error. The trick was to get the pieces of code in the right order and places in the comments and functions files. The s in %1$s means that the argument is treated as and presented as a string. This is explained in detail in the php manual for the the sprintf function: php.net/manual/en/function.sprintf.php |
|
Feb 5 |
comment |
Magazine style frontpage with multiple categories/loops and no duplicate posts Thank you very much Brian. I will have a look at your suggestion. I have found a working solution at: wprecipes.com/… |