Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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 07:55 PM.

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