How to display "Most Commented" list in foorter Column
-
I have a 4-column footer. The contents of used a now discontinued popularity plugin. I’d like to replace the column with “most comented” but I can’t get it to work.
Old Code
<div id=”crossland-footer-middle-left”>
<h2>Hot Topics</h2>- <?php
- “,”
- “, “
// akpc_most_popular(10,”“);
akpc_most_popular_in_last_days(10, ”“, 90)
?></div>
New Code
<div id=”crossland-footer-middle-left”>
<h2>Hot Topics</h2>
<div id=”crossland-footer-middle-left”>
<h2>Hot Topics</h2>- <?php query_posts(‘orderby=comment_count&posts_per_page=>10’); ?>
</div>
Making the above change causes the entire footer to just not show up at all.
What should that code snippet be to show “most commented” posts?
Thanks
The blog I need help with is: (visible only to logged in users)
-
The blog you specified at crosslandteam.com does not appear to be hosted at WordPress.com.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
Hi there,
This support forum is only for support of free hosted wordpress.com blogs. Your question is about a self-hosted WordPress blog and you’ll find help at the WordPress.org forums. http://wordpress.org/support/
For clarity read > http://support.wordpress.com/com-vs-org/
- The topic ‘How to display "Most Commented" list in foorter Column’ is closed to new replies.