Title: [Plugin: Count per Day] Add php to loop&#8230;
Last modified: August 20, 2016

---

# [Plugin: Count per Day] Add php to loop…

 *  [Arealpolitik](https://wordpress.org/support/users/arealpolitik/)
 * (@arealpolitik)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-count-per-day-add-php-to-loop/)
 * 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](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](https://wordpress.org/support/topic/plugin-count-per-day-add-php-to-loop/admin@theblogfarm.com?output_format=md)
 * Thanks a bunch for a great plugin…
 * [http://wordpress.org/extend/plugins/count-per-day/](http://wordpress.org/extend/plugins/count-per-day/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Arealpolitik](https://wordpress.org/support/users/arealpolitik/)
 * (@arealpolitik)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-count-per-day-add-php-to-loop/#post-2284784)
 * Forgot to give you the post addy: [http://www.theblogfarm.com/the-unbelieving-patriot/](http://www.theblogfarm.com/the-unbelieving-patriot/)
 *  Plugin Author [Tom Braider](https://wordpress.org/support/users/tom-braider/)
 * (@tom-braider)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-count-per-day-add-php-to-loop/#post-2284876)
 * 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.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Count per Day] Add php to loop…’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/count-per-day_d2a1c1.svg)
 * [Count per Day](https://wordpress.org/plugins/count-per-day/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/count-per-day/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/count-per-day/)
 * [Active Topics](https://wordpress.org/support/plugin/count-per-day/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/count-per-day/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/count-per-day/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tom Braider](https://wordpress.org/support/users/tom-braider/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-count-per-day-add-php-to-loop/#post-2284876)
 * Status: not resolved