How to update code in header
-
Hello, we’ve updated to new Pro Free plugin!
This was our old code in the header. Can you please let me know how to update it so it will work with the new updated Plugin?
Thank you so much.
<?php { // AD SERVER LOGIC if (isset($pagename) && $pagename == 'intl') { if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 5), array('before' => '<div class="ad">', 'after' => '</div>')); } else { if(in_category('intl', get_the_ID())) { if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 5), array('before' => '<div class="ad">', 'after' => '</div>')); } else { if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>')); } } $html = array(); echo implode("\n",$html); } ?>[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘How to update code in header’ is closed to new replies.