Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   "Link to Me" Box - where do I insert the PHP? (http://forum.bytesforall.com/showthread.php?t=33)

bseppa Dec 13, 2008 12:16 PM

"Link to Me" Box - where do I insert the PHP?
 
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!

Flynn Dec 13, 2008 12:40 PM

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(''); ?>


bseppa Dec 13, 2008 12:42 PM

Beautiful - worked great!


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

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