![]() |
Ad Rotator Code in Horbar1
I am trying to insert rotating ads into Horbar1 and I keep receiving "Parse Error Line 183" messages. I am using the Ad-minister plugin which works fine if I place the code on line 1 of bfa_header_config.php, but generates the parse errors if I insert it between <div class="horbar1"> and </div> as instructed.
The code I am trying to use is Code:
<?php do_action('ad-minister', array('position' => 'Top Any suggestions are appreciated! |
That's due to the single quotes before and after the code, they'd need to be closed. Additionaly you'd need to capture the output of that code first as it seems to print output right away, but bfa_header_config.php is collecting the different parts of the header first, so that you can arrange them on the theme options with the %bar1 etc. placeholders.
Change, i.e. PHP Code:
PHP Code:
|
Thank you Flynn! Your solution did the trick.
|
All times are GMT -6. The time now is 09:35 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.