Support » Plugin: Most And Least Read Posts Widget » [Plugin: Most And Least Read Posts Widget] how to show this in a post?

Viewing 1 replies (of 1 total)
  • Plugin Author whiletrue

    (@whiletrue)

    Hi Mazinger,
    we did it in the new 1.7 release, with the “most_and_least_read_posts_get_hits” function. To make it more general, the function needs a post id as parameter and doesn’t echo the hits directly.

    The code to use it in your template is like this:
    <?php echo most_and_least_read_posts_get_hits(get_the_ID()); ?>

    Thanks for your request!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Most And Least Read Posts Widget] how to show this in a post?’ is closed to new replies.