Most and Least Read Posts Widget for WordPress

most-and-least-read-posts-widget_banner

Most and Least Read Posts Widget is a free plugin for WordPress, developed by the Whiletrue.it staff to show lists of the most and reast read posts.

The following options are customizable:

  • number of posts to show
  • exclude post whose title contains certain words

The plugin starts counting hits once activated, storing them in the “custom_total_hits” custom field without the need of external accounts.

The most popular web crawlers (e.g. Googlebot) are recognized and their hits discarded.

The plugin is compatible with multi-language WPML plugin, showing most/least read posts for current language.

Download the plugin from the official WordPress website, clicking on the button:

Download_64

20 thoughts on “Most and Least Read Posts Widget for WordPress

  1. George Philip

    Hello,

    Thanks for this great plugin. I would like to have in my template – without dragging widgets – using php code, as to have two distinct blocks: one for the 3 most read posts, the other for the 3 least read posts. Could you please elaborate on the php code inset?

    Thanks in advance.

    George

    Reply
    1. WhileTrue Post author

      Hi George, I’ve never tried it. You could do it using the “the_widget” WP function, something like this:

      < ?php
      $widget_instance= array('title'=>'Most Read Posts', 'posts_number'=>3);
      the_widget('MostReadPostsWidget', $widget_instance);

      $widget_instance= array('title'=>'Least Read Posts', 'posts_number'=>3);
      the_widget('LeastReadPostsWidget', $widget_instance);
      ?>

      Reply
  2. jack

    I love the plugin, but it counts readings if I refresh post, first of all, I am admin and it should not do that. It should not count admin reads, only visitors reads.

    can you fix it?

    Reply
    1. WhileTrue Post author

      Hi Jack, the feature you requested is included in the new 2.0.3 plugin release, out today. Thanks for your support!

      Reply
      1. dstudio101

        Mine is the opposite – I only read admin or logged in readers – how do I go about this? :) or maybe I’d like to read both visitors and logged in only.

        Thanks,

        Reply
  3. Tim

    This widget is great however if an image from a previous month is included in a post it will not show up as the thumbnail.

    Reply
  4. MrPierc

    Hello While True and thanks for really good plugin “Most and Least Read Posts Widget for WordPress”.

    I have question: I use this plugin many months and i would like remove space in first word in list. In other plugins i have no space before first word. here is Photo = http://i286.photobucket.com/albums/ll107/MrPierc/Nospace-MostandLeast_zps94857a91.png

    is possible somehow remove the space in htm lcode in most-and-least-read-posts-widget/most_and_least_read_posts.php?

    Thanks again for plugin and for tips.
    * Sorry for my bad EN.

    Reply
    1. WhileTrue Post author

      Hi, the 2.1.1 plugin release out now should solve the spacing issue. If not, please tell me your site URL for further client code inspection.

      Reply
  5. Jim Devereaux

    Hey there,

    I really like the plugin great job, however I was wondering if there’s a way to reduce the size of the displayed thumbnails in the widget?

    My thumbnails are 150×150 pixels which makes them a bit big to display as it takes up too much room and pushes the text onto a line below the image if the title is more than a few words. Can I recode it to say, display half the thumb size at 75 x 75?

    Thanks!
    Jim

    Reply
    1. WhileTrue Post author

      Hi Jim, you can do it adding a CSS line to your theme style.css file, like this:
      .mlrp_ul img { width: 75px; }

      Reply
  6. Robert

    Hi,
    I’m using one of your WP plugins – most/least read posts and I’d like to ask if it is possible to set the attributes so that the title of the post wouldn’t start next to the post (feature) image but below it because now it doesn’t look good on my site http://www.smartmug.sk
    Thaanks.

    Robert

    Reply
    1. WhileTrue Post author

      Hi Robert, you can adjust it adding to your theme style.css file some CSS rules like this:
      .mlrp_ul img { float:left; margin-right: 10px; }
      .mlrp_ul li { clear: both; }

      Reply
  7. michael

    dear giuliano,

    thank you for your plugin, it is very useful. what I would like to ask:
    is there an option to format the display of the results? what I would need is an option to graphically enhance the appearance, let’s say like this:

    post title (left / right / font formatting)

    thumbnail (size / left / right)

    post text excerpt (left / right / font formatting / number of letters)

    pls advise how to proceed, it would be a great help, thank you for your attention.

    michael

    Reply
    1. WhileTrue Post author

      Hi Michael, you can format the content adding to your theme style.css file some CSS rules like this:
      /* CUSTOMIZE THUMBNAIL */
      .mlrp_ul img { float:left; margin-right: 10px; }
      /* CUSTOMIZE POST */
      .mlrp_ul li { text-align:right; font-size: 14px; clear: both; }

      Reply
      1. michael

        thank you for the quick reply, Giuliano!
        is there an option to display a post text excerpt and to format ist ?

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *


8 − = four

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">