How to edit single.php in atahualpa?
Hello,
I'm still trying to get my banner ad embedded globally in all my posts. In my old theme I would have added my PHP code to single.php but I don't know where that file is in atahualpa. I want the ad to be in the middle-right of each post--globally. Thanks for your help. |
this is what I tried to do
on Atahualpa Options → go to Center Column section → go to Style & edit CENTER COLUMN tab → Find The LOOP and for example in this code line Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix"><img align="right" src="http://localhost/wp/wp-content/uploads/2010/01/ngawur.jpg">','</div>'); ?> |
Thanks very much. That's getting me closer to solving the problem. I need to put this:
include("http://www.womenscycling.ca/top_ad.php"); in this: <?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> but don't know how to do that. Any suggestions? Thanks again |
try this
HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix"><script type='text/javascript'> |
Thanks for the suggestion but that created a syntax error too--even after I change [/B} to [/b].
|
sorry, don't put in the [ B ] and [ / B ] those were there just to bold the statement - I've taken them out
|
I get this error:
Parse error: syntax error, unexpected T_STRING in /home/fitatfiv/public_html/surenetonline/new_cycling/wp-content/themes/atahualpa/functions.php(499) : eval()'d code on line 17 |
Oh it may be the single quotes in the new code, try this
HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix"><script type="text/javascript"> |
THANK YOU! That worked. Now I just have to figure out how to position it from the top of the page to 1/3 down. Any ideas?
Thanks very much. I'm going to make a donation. |
All times are GMT -6. The time now is 07:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.