Title: Insert counter in each post
Last modified: August 30, 2016

---

# Insert counter in each post

 *  Resolved [Maurizio Zani](https://wordpress.org/support/users/mauriziozani/)
 * (@mauriziozani)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/)
 * How can be insert the visit counter in each post?
 * [https://wordpress.org/plugins/wptouch/](https://wordpress.org/plugins/wptouch/)

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

 *  [BraveNewCode Inc.](https://wordpress.org/support/users/bravenewcode/)
 * (@bravenewcode)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673669)
 * Hi,
 * If you’re using a plugin to add this functionality in the desktop theme, it should
   automatically work in WPtouch as well. Let us know how you’re implementing it
   in the desktop theme (if you are) and we’ll have a better idea of what you’re
   trying to accomplish.
 * Regards,
 * WPtouch Support
 *  Thread Starter [Maurizio Zani](https://wordpress.org/support/users/mauriziozani/)
 * (@mauriziozani)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673674)
 * Thx for the answer.
 * In the desktop theme the counter (and category, and tag) is not in the body field,
   but in the byline field (after the headline) and in the footer field of the post.
 * I’ve seen that in your mobile theme -> settings, there’s the possibility to show
   the category (done), the tag (done) and the date (done) of the post, but not 
   the counter…
 *  [BraveNewCode Inc.](https://wordpress.org/support/users/bravenewcode/)
 * (@bravenewcode)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673680)
 * Hi,
 * Thank you for the info, but how is the visitor counter added in the desktop theme?
   Are you using another plugin? Is it functionality that comes with the desktop
   theme?
 * Regards,
 * WPtouch Support
 *  Thread Starter [Maurizio Zani](https://wordpress.org/support/users/mauriziozani/)
 * (@mauriziozani)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673684)
 * Yes, the plugin is WP PostViews, and the counter is added by means of the theme(
   Atahualpa) setting writing %wp-postviews% in the byline field.
 *  [BraveNewCode Inc.](https://wordpress.org/support/users/bravenewcode/)
 * (@bravenewcode)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673757)
 * Mairizio,
 * Thank you for the info. That makes sense. In order for the post views to show
   up, the code below needs to added.
 * <?php if(function_exists(‘the_views’)) { the_views(); } ?>
 * This is possible in WPtouch Pro, and can be done with its child theme feature.
   In WPtouch (free), you can do it but your changes will be overwritten each time
   you update the plugin.
 * You can add the code to WPtouch’s single.php file in the location you’d like 
   to display the post views in.
 * Regards,
 * WPtouch Support
 *  Thread Starter [Maurizio Zani](https://wordpress.org/support/users/mauriziozani/)
 * (@mauriziozani)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673777)
 * Great!
 * I’ve implemented your suggestion (and written a post: [http://www.mauriziozani.it/wp/?p=3746](http://www.mauriziozani.it/wp/?p=3746),
   in case the solution should be useful to someone)
 *  [BraveNewCode Inc.](https://wordpress.org/support/users/bravenewcode/)
 * (@bravenewcode)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673793)
 * Great. Thanks!
 * WPtouch Support

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

The topic ‘Insert counter in each post’ is closed to new replies.

 * ![](https://ps.w.org/wptouch/assets/icon-256x256.png?rev=1313960)
 * [WPtouch - Make your WordPress Website Mobile-Friendly](https://wordpress.org/plugins/wptouch/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptouch/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptouch/)
 * [Active Topics](https://wordpress.org/support/plugin/wptouch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptouch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptouch/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [BraveNewCode Inc.](https://wordpress.org/support/users/bravenewcode/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/insert-counter-in-each-post/#post-6673793)
 * Status: resolved