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 » Plugins & Atahualpa »

"Link to Me" Box - where do I insert the PHP?


  #1  
Old Dec 13, 2008, 01:16 PM
bseppa
 
55 posts · Dec 2008
I have a plugin that I have been using for months in Atahualpa 2 that adds a text area to the bottom of each post (single post page only) and I need to use it in Atahualpa 3 also. The php that I added to single.php in Atahualpa 2 was a follows:

PHP Code:
<?php if (function_exists('link_to_me_textbox')) link_to_me_textbox(''); ?>
I want this box to appear on the very bottom (below the comment tools) of single post pages. I'm guessing that I can put this code somewhere in the main index file but where??

Thanks!
  #2  
Old Dec 13, 2008, 01:40 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You could add that to line 321 in index.php, right before
HTML Code:
</td>
<!-- / Main Column -->
as
PHP Code:
<?php if ( is_single() AND function_exists('link_to_me_textbox')) link_to_me_textbox(''); ?>
  #3  
Old Dec 13, 2008, 01:42 PM
bseppa
 
55 posts · Dec 2008
Beautiful - worked great!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to insert Feedburner "Subscribe via e-mail" into footer hapit RSS, Feeds & Subscribing 1 Feb 23, 2010 04:33 PM
[SOLVED] Atahualpa IE7 &quot;endif&quot; Error header.php Actus Atahualpa 3 Wordpress theme 3 Sep 23, 2009 09:42 PM
make index.php be a "page" and blog postings go to different php page zhidoni Atahualpa 3 Wordpress theme 0 Jun 21, 2009 05:25 PM
request: please add "links.php" page template. dhani Atahualpa 3 Wordpress theme 0 May 22, 2009 04:36 AM
"Fatal error: .../atahualpa/header.php on line 848" ??? Dem Header configuration & styling 5 Feb 19, 2009 07:06 AM


All times are GMT -6. The time now is 12:25 PM.


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