Title: [Plugin: Easy Popular Posts] PHP code put somewhere??
Last modified: August 19, 2016

---

# [Plugin: Easy Popular Posts] PHP code put somewhere??

 *  [ronthai](https://wordpress.org/support/users/ronthai/)
 * (@ronthai)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-easy-popular-posts-php-code-put-somewhere/)
 * Hi, consider me a total novice, but can anyone tell me where I should put the
   code <?php popularPosts(‘credit=0’); ?> .
    My understanding was that add this
   to the php (single.php for posts) it should show on the posts, prefably at the
   bottom.
 * Does this also work for pages?
    ** I just answered this myself. Copied it in 
   the page.php and now shows up. **
 * But how for in the posts??
 * Please as plain in English as possible, not to much techno talk.
    I have managed
   to change php files with success, so this one can not be so hard I would think.
 * Thank you and regards, Ron
 * [http://wordpress.org/extend/plugins/easy-popular-posts/](http://wordpress.org/extend/plugins/easy-popular-posts/)

The topic ‘[Plugin: Easy Popular Posts] PHP code put somewhere??’ is closed to new
replies.

 * ![](https://ps.w.org/easy-popular-posts/assets/icon-128x128.png?rev=1053584)
 * [Easy Popular Posts](https://wordpress.org/plugins/easy-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-popular-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ronthai](https://wordpress.org/support/users/ronthai/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-easy-popular-posts-php-code-put-somewhere/)
 * Status: not resolved