Thread Starter
ex272
(@ex272)
Worked like a charm, thanks Michael.
Thread Starter
ex272
(@ex272)
Hi Michael,
So since this is a sidebar function, it seems that rather than using a wpdb query, I’d have to execute The Loop in the sidebar as well as the content area, in order to call get_the_category() from the sidebar, correct? Then how would I grab the top 5 posts ordered by comment count within this sidebar Loop? I looked into query_posts(), but did not see comment_count as an option for its orderby parameter.
Sorry, this is only my second day at this.
Thanks again!