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

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


  #1  
Old Dec 13, 2008, 12: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, 12: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, 12:42 PM
bseppa
 
55 posts · Dec 2008
Beautiful - worked great!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 03:33 PM
[SOLVED] Atahualpa IE7 &quot;endif&quot; Error header.php Actus Atahualpa 3 Wordpress theme 3 Sep 23, 2009 08: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 04:25 PM
request: please add "links.php" page template. dhani Atahualpa 3 Wordpress theme 0 May 22, 2009 03:36 AM
"Fatal error: .../atahualpa/header.php on line 848" ??? Dem Header configuration & styling 5 Feb 19, 2009 06:06 AM


All times are GMT -6. The time now is 02:26 AM.


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