Counter showing twice
-
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
the_content()
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?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Counter showing twice’ is closed to new replies.