Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How do i EDIT Single Post?

Old Mar 9, 2009, 05:42 AM
7 posts · Feb 2009
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?


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'); } ?>
Old Mar 9, 2009, 08:39 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
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 ?>
Old Mar 9, 2009, 10:25 AM
7 posts · Feb 2009
Tks so much Flynn.. it works! U are amazing!!


daily, daily post, top post, top10

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
php in single post Haser Atahualpa 3 Wordpress theme 3 Dec 4, 2012 07:54 PM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 02:58 PM
Headline disappearing on single-post pages. Matt Butts New Versions, & Updating 6 Jul 11, 2009 09:15 AM
Ad an edit button to each post? ShinigamiN Post-Kicker, -Byline & -Footer 1 Apr 6, 2009 02:32 PM
Banner over Single Post Title jay2009 Header configuration & styling 0 Mar 21, 2009 04:41 PM

All times are GMT -6. The time now is 03:05 PM.

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