I have this php code from a Advert rotator and i need to post in a webform in the WP admin to place it the website. I do not want to do changes in the template i want to use the form. The form is FINE with adsense code and other php code but this code does not work. Do i need to add some filling to it? <?php if(function_exists('mba_display_zone')) mba_display_zone(6);?> PHP:
First make sure that the function mba_display_zone exists. Then put that code wherever on which page you want the ad to appear.
Yes it does, but that will not answer my question i need the code in a iframt or div or something since i am putting it in a form not inside a php page.
There are a few plugins for integrating PHP code to worpdress. You can search google with "php on wordpress" without the quotes.
Thats not the issue here, i already have a plug in and that is causing the problem. I just want to know how to use normal DIV or JAVA code to put this code into a form.
<?php echo '<div>'; if(function_exists('mba_display_zone')) mba_display_zone(6); echo '</div>'; ?> PHP:
Sorry that did not work it just show the code. What does work is like this <a href="http://www.woothemes.com/woomember/go?r=55088&i=l43&redirect=mydomain"><img src="http://woothemes.com/ads/468x60b.jpg" /></a> PHP: or normal adsense code I asked the woo theme already but the do not know either.