[SOLVED] WP-Postviews
Hi, I'm trying to use WP_Postviews and the instructions say to put the following code into the theme's index.php file where you want it to appear:
<?php if(function_exists('the_views')) { the_views(); } ?> This works. I put it after the by-line. However, it looks terrible (and it appears universally on all pages). I would like instead to add it to Post/Page info items just on single pages. However, when I put it in there, it doesn't work. The plugin also says I can use this variable: %VIEW_COUNT% Yet when I try that it also doesn't work (it shows the actual text). Any help would be appreciated. Thanks! Emanuel |
if you are going to use it in ato->Edit POST/PAGE INFO ITEMS, you might want to read the documentation on the page. ie...
Quote:
|
Whoah! You're one step ahead of me. Who'd have thunk it would be in the ata documentation? Thanks!
|
All times are GMT -6. The time now is 03:57 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.