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?


  #1  
Old Mar 9, 2009, 06:42 AM
sns
 
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?

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'); } ?>
  #2  
Old Mar 9, 2009, 09:39 AM
Flynn's Avatar
Flynn
 
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 ?>
  #3  
Old Mar 9, 2009, 11:25 AM
sns
 
7 posts · Feb 2009
Tks so much Flynn.. it works! U are amazing!!

Bookmarks

Tags
daily, daily post, top post, top10



Similar Threads
Thread Thread Starter Forum Replies Last Post
php in single post Haser Atahualpa 3 Wordpress theme 3 Dec 4, 2012 08: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 03:58 PM
Headline disappearing on single-post pages. Matt Butts New Versions, & Updating 6 Jul 11, 2009 10:15 AM
Ad an edit button to each post? ShinigamiN Post-Kicker, -Byline & -Footer 1 Apr 6, 2009 03:32 PM
Banner over Single Post Title jay2009 Header configuration & styling 0 Mar 21, 2009 05:41 PM


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


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