I have a custom post type. In the template for this CPT I am using:
echo do_shortcode('[pvc_stats postid="" increase="1" show_views_today="1"]');
But the counter is also being appended to the end of
meaning it is displayed twice on the page.
This is not happening for native posts or pages. I have the counter switched OFF for this CPT.
How can I ensure that only the shortcode version of the counter displays?
- The topic ‘Counter showing twice’ is closed to new replies.