WordPress.org

Ready to get started?Download WordPress

Forums

Count per Day
Add php to loop... (3 posts)

  1. Arealpolitik
    Member
    Posted 2 years ago #

    Hey Tom, I am trying to add total post count to the loop in Atahualpa theme. Not to good at this sort of thing. I placed

    <?php if(method_exists($count_per_day, "getReadsAll( $frontend )")) $count_per_day->show(); ?>

    which I am sure is wrong...

    Could you give me the heads up on how to do this properly?

    The site is http://www.theblogfarm.com

    If you look at this post, (the one I am playing with) I am trying to add it below the content but above the author profile.

    If you can, email me at admin@theblogfarm.com

    Thanks a bunch for a great plugin...

    http://wordpress.org/extend/plugins/count-per-day/

  2. Arealpolitik
    Member
    Posted 2 years ago #

    Forgot to give you the post addy: http://www.theblogfarm.com/the-unbelieving-patriot/

  3. Tom Braider
    Member
    Plugin Author

    Posted 2 years ago #

    This line:
    <?php if(method_exists($count_per_day, "show")) $count_per_day->show(); ?>
    should show the reads of the post.
    You have to place this line in your single.php template file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic