Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   How do i EDIT Single Post? (http://forum.bytesforall.com/showthread.php?t=691)

sns Mar 9, 2009 05:42 AM

How do i EDIT Single Post?
 
I've asked this before in the forum, and u have suggested to use the WP-PostViews, however that plugin does not work for me. I need to use this other plugin called Daily Top 10 Post

In their instructions, i need to add this line into my SinglePost. But since the Atahualpa does not have Single Post, can you let me know where can i put the below code?

Thanks


Go to Admin Panel > Design > Theme Editor and click on Single Post (single.php).

#Find this line:

<?php the_time('F jS, Y') ?> //date

#Right after it, insert this line:
<br /><?php if (function_exists('todays_overall_count')) { todays_overall_count($post->ID, 'Visited', 'times', 'so far today', '0', 'noshow'); } ?>

Flynn Mar 9, 2009 08:39 AM

You can put into index.php right above

PHP Code:

        <!-- Post Body Copy --> 

like this

PHP Code:

<?php if ( is_single() ) { ?>
<br /><?php if (function_exists('todays_overall_count')) { todays_overall_count($post->ID'Visited''times''so far today''0''noshow'); } ?>
<br />
<?php ?>


sns Mar 9, 2009 10:25 AM

Tks so much Flynn.. it works! :) U are amazing!!


All times are GMT -6. The time now is 03:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.