• Hello,

    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))

    {

    echo “<img title='” . esc_attr($ad_banner_alt) . “‘ alt='” . esc_attr($ad_banner_alt) . “‘ src='” . esc_url($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!

  • The topic ‘Mapped image as Ad Banner Image in BookRev theme’ is closed to new replies.