• Hello, I have a theme which goes with built-in ads space in header. But you can only place banner ad there. Here is the code, what should I remove and where should I place my code? Thank you sooooo much:
    <body <?php body_class(); ?>>
    <header id=”main-header”>
    <div class=”container”>
    <div id=”top-info” class=”clearfix”>
    <?php if ( ‘on’ === et_get_option( ‘nexus_header_banner’, ‘false’ ) ) : ?>
    <div class=”header-banner”>
    <?php
    printf( ‘<img src=”%s” alt=”%s” />‘,
    esc_url( et_get_option( ‘nexus_header_banner_url’, ‘#’ ) ),
    esc_attr( et_get_option( ‘nexus_header_banner_image’ ) ),
    esc_attr( et_get_option( ‘nexus_header_banner_description’ ) )
    );
    ?>
    </div> <!– .header-banner –>
    <?php endif; ?>

  • The topic ‘How to insert Adsense and replace theme-based ad option’ is closed to new replies.