How to show views inside
-
This is my code in a custom taxonomy file (taxonomy-tv_channels.php) and the URL is
<?php get_header(); ?> <h1><?php $taxonomy = get_queried_object(); echo $taxonomy->name; ?> Live Tv Online</h1> https://youtube.com/watch?v=<?php the_field('url'); ?> <!--VIEWS--> <?php echo do_shortcode('[post-views]'); ?> Views <?php get_footer(); ?>
As you can see that I added the post views code inside but not working at all. If I use a loop then it messes up the page. How is possible to show views or comments section, because the comment form is also not working?
- The topic ‘How to show views inside’ is closed to new replies.