Search the Community
Showing results for tags 'php codings'.
-
I am new to php codings. Need some help... Website: www.dailydose.com.my I would like to change this codings in my wordpress theme and use the adpress plugin for my ads but when i include the codings, the image size shrunk. The current php codings from theme are... <?php if (jwOpt::get_option('banner_leader_type', 'image') == 'image') { ?> <?php $banner_link = jwOpt::get_option('leader_banner_link', '#'); ?> <?php if ( strlen($banner_link) <= 0 || $banner_link == 'http://' || $banner_link == 'https://' ) { ?> <div class="reverie-leader-banner"> <a href="#"> <img src="<?php echo jwOpt::get_option('leader_banner', ''); ?>"> </a> </div> <?php } else { ?> <div class="reverie-leader-banner"> <a href="<?php echo jwOpt::get_option('leader_banner_link', '#'); ?>" target="<?php echo jwOpt::get_option('banner_lead_link_target', '_blank'); ?>"> <img src="<?php echo jwOpt::get_option('leader_banner', ''); ?>"> </a> </div> <?php } ?> <?php } else { ?> <?php $google_ads = jwOpt::get_option('leader_banner_google', '#'); ?> <?php if ( strlen($google_ads) > 0) { ?> <div class="reverie-leader-banner"> <div class="google_ads"> <?php echo $google_ads; ?> </div> </div> <?php } ?> <?php } ?> I would need to change it to.... <?php if (function_exists(display_campaign)) { display_campaign(1); } ?> So where should i change the codes?? Thanks in advance for your help.