I would like to add a banner ad on all the pages and articles of my site. Do you know of a plugin that can automate this task?
I use the Divi Builder.
Thanks for your answers!
]]>I recieved a Google Ads banner from a client created with Google Web Designer in order to be displayed on my WordPress website.
So I recieved a .zip file which contains html file and set of images. But I don’t know which is the most optimal and secure way to integrate this banner. Do I have to host the zip file on my website or I have to ask the customer for the code generated by Google Ads.
Could you please provide me your help.
Thank you
]]>Any help will be gladly appreciated.
Thanks
]]>I’m trying to use an image map as ad banner image. I’ve created the image, and the necessary html but I’m not sure where I need to insert that code in the header.php file.
I’m using the theme BookRev-Lite and the Header.php has the following for the banner ad:
<section id=”ad-banner”>
<?php
if(get_theme_mod(“head_display_ad”,false)) {
$ad_banner_img = get_theme_mod(‘header-ad-img’);
$ad_banner_url = get_theme_mod(‘header-ad-url’);
$ad_banner_alt = get_theme_mod(“header-ad-alt”);
if( !empty($ad_banner_img))
{
}
}
?>
</section><!– end #ad-banner –>
Can someone please indicate where I would insert my html code for my mapped image or tell me how to do so, if this is incorrect?
Thanks in advance!
]]>CSS
/*Place ad banner to the right and add top margin*/
.header-ads {
position: relative;
top: 30px;
float: right;
}
headher.php
<div class="header-ads">
<a href="https://cex.io/r/0/cwmills/0/" title="Bitcoin Mining and Trading" target="_blank"><img src="https://cex.io/img/b/728x90.jpg" width="628" height="90" border="0" alt="CEX.IO"></a>
</div><!--/ .header-ads -->
How do I make this look better on an android or iphone/ipad device?
]]>Thanks
]]> // Ads variables – Options Panel
$ad728_show = of_get_option( ‘ac_ad728_show’ );
$ad728_code = of_get_option( ‘ac_ad728_code’ );
if ( $ad728_code == ” ) :
?>
<h2 class=”description”><?php bloginfo( ‘description’ ); ?></h2>
<?php endif; ?>
</div><!– END .logo –>
<?php
if ( $ad728_show && $ad728_code != ” ) : ?>
<div class=”advertising728″>
<?php if ( $ad728_code != ” ) { echo $ad728_code; } ?>
</div><!– END .advertising728 –>
<?php endif; ?>
But i could not find any option in the widget panel. Can anyone tell me where to insert my code manually.
Thank you
]]>