minimus on "[Plugin: SAM Pro (Free Edition)] 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.]

https://wordpress.org/plugins/sam-pro-free/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 32 تاريخ : پنجشنبه 2 ارديبهشت 1395 ساعت: 2:18