Timeline for How to Show Comment Count on Related Posts?
Current License: CC BY-SA 2.5
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 17, 2010 at 18:46 | comment | added | pollyplummer | Thanks, that worked perfectly! I would put a check by your answer but it's not available in the comments. I appreciate your help!! | |
Dec 17, 2010 at 17:18 | comment | added | onetrickpony |
@pollyplummer in your code, replace echo $total; with echo $post->comment_count;
|
|
Dec 17, 2010 at 6:23 | comment | added | pollyplummer | Anybody else have an idea? | |
Dec 16, 2010 at 17:53 | comment | added | onetrickpony |
ah yes, I've mistaken it with showposts
|
|
Dec 16, 2010 at 17:29 | comment | added | Rarst |
@AmbitiousAmoeba it is not deprecated and is actually preferable in get_posts() because of some lingering bug with defaults. There was question recently where that came up.
|
|
Dec 16, 2010 at 17:11 | comment | added | pollyplummer | I see what you're saying and I tried that but it doesn't seem to want to echo everything that's contained in the <li>. Nothing shows up. Not sure what I'm doing wrong. | |
Dec 16, 2010 at 15:58 | comment | added | onetrickpony | I think "numberposts" is deprecated in wp 3 in favor of "posts_per_page" | |
Dec 16, 2010 at 15:11 | history | answered | Cristian Dumitru Antohe | CC BY-SA 2.5 |