文章目录
Description
Usage
- Open usr/themes/<YOUR THEME NAME>/index.php
- You may place it in archive.php, single.php, post.php or page.php also.
- Find: <?php while (have_posts()) : the_post(); ?>
- Add Anywhere Below It (The Place You Want The Views To Show): <?php if(function_exists('the_views')) { the_views(); } ?>
- Or you can use the shortcode [views]or[views id="1"](where 1 is the post ID) in a post
- Go to WP-Admin -> Settings -> PostViewsto configure the plugin.