damian5000
Member
Posted 8 months ago #
so,i have something like this in single.php:
<h2><?php the_title(); ?></h2>
<div class="post-meta">
<span class="info">
<span class="date"><?php the_time('M. d') ?></span>
<span class="category"><?php the_category(', ' ); ?></span>
<span class="comments"><?php comments_popup_link( __('add comment', 'gazpo'), __( '1 comment', 'gazpo'), __('% comments', 'gazpo')); ?></span>
</span>
</div> <!-- /post-meta -->
WHERE, and WHAT code do i put, so it will automatically show the post view count...?
Thanks!
http://wordpress.org/extend/plugins/baw-post-views-count/
damian5000
Member
Posted 8 months ago #
haha... Ok.. no, i wasn't kidding you, but thanks for your time.... i suppose i wasn't clear... i wanted to show it after the post title, or directly above the post comment...
<?php echo do_shortcode('[post_view]'); ?>
works awesome.. thanks for your hard work on this plugin.
damian5000
Member
Posted 8 months ago #
BTW, <?php echo do_shortcode('[post_view]'); ?> was what i was looking for. no further need to explain regarding location... cheers.
Plugin FAQ
How to use/display it?
6. echo do_shortcode...
resolved.