Tag Archives: Popular Posts

How To Display Your Most Popular Blog Posts In WordPress Using Jetpack Stats Module ?

Jetpack’s stats module shows you your most popular blog posts on your admin area dashboard. WordPress plugin’s repository has a new plugin Jetpack Post Views, this plugin simply allows you to dispplay your most popular blog posts as a sidebar widget on your WordPress site. But remember this only works if you have Jetpack by WordPress.Com plugin activated and its stats module is enabled on your website.

Continue reading How To Display Your Most Popular Blog Posts In WordPress Using Jetpack Stats Module ?

Beautiful Tabbed Widget For Displaying Most Commented And Most Viewed Posts In WordPress

There many WordPress plugins you can use for displaying most commented or most viewed WordPress blog posts as sidebar widget. But, in this article we are discussing about a tabbed widget plugin that lets you show most commented, most viewed, tags and more at the same time using different widget tabs as shown in the given screenshot.

Continue reading Beautiful Tabbed Widget For Displaying Most Commented And Most Viewed Posts In WordPress

Show Popular Posts Based On Data Collected By Jetpack Or WordPress.Com Stats Plugin

WordPress.com Popular Posts is a WordPress plugin for Self Hosted WP Sites, it simply displays your popular blog posts on your sidebar based on the data collected by Jetpack by WordPress.Com plugin or WordPress.Com Stats plugins.

Continue reading Show Popular Posts Based On Data Collected By Jetpack Or WordPress.Com Stats Plugin

Display Related And Popular Content In The Style Of Popular WordPress Sites

There are two WordPress plugins in WordPress plugin repository that displays popular and related content in the best way like other popular sites do.

Continue reading Display Related And Popular Content In The Style Of Popular WordPress Sites

Display Popular Posts In Your WordPress Blog’s Sidebar Without Using Any Plugin

You can highlight most popular content of your WordPress site in your sidebar. Copy-Paste the following code in your theme’s sidebar.php file:

<h2>Popular Posts</h2>
<ul>
<?php $result = $wpdb->get_results(“SELECT comment_count,ID,post_title
FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5″);
foreach ($result as $post) {
setup_postdata($post);
$postid = $post->ID;
$title = $post->post_title;
$commentcount = $post->comment_count;
if ($commentcount != 0) { ?>
<li><a href=”<?php echo get_permalink($postid); ?>” title=”<?php echo
$title ?>”>
<?php echo $title ?></a> {<?php echo $commentcount ?>}</li>
<?php } } ?>
</ul>

It displays most popular posts on your site’s sidebar.

For changing the number of posts to display in your sidebar:

Look-up for this line in the above code block: FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5″); and Replace 5 with the number of posts you like to display.

Easiest Way for Displaying both Popular and Unpopular Posts in your Sidebar:

Now easiest way to do this (display popular posts) and many other similar things like displaying both popular and unpopular posts, knowing the number of post hits is to use Most and Least Read Posts Widget Plugin

Download from the link, activate it and start using it by placing its widgets in your sidebar. It gives you two different widgets one shows most read posts and the other shows least read posts and also it counts your post hits both on sidebar and in your dashboard All Posts list.