Advert block

Hello there,

I am trying to add a 468 X 60 ad block onto the Blog MU header, I modified the header template, a new theme options for the block but is not displaying and ideas



  • Timothy Bowers
    • Chief Pigeon

    Hey there.

    If you open:


    Then you will see around 227:

    <div class="alignright">
    <?php if (is_user_logged_in()) { ?>
    <?php if( $bp_existed == 'true' ) { global $bp; //check if bp existed ?>
    <div id="li-user">
    <div class="user-tab"><?php _e('Welcome back', TEMPLATE_DOMAIN); ?>, <a href="<?php bp_loggedin_user_link() ?>"><?php echo $bp->loggedin_user->fullname; ?></a></div>
    <?php } else {
    global $user_ID, $user_identity, $user_url, $user_email;
    get_currentuserinfo(); ?>
    <div id="li-user"><?php _e('Welcome back', TEMPLATE_DOMAIN); ?>, <a href="<?php echo site_url(); ?>/wp-admin/profile.php"><strong><?php echo $user_identity; ?></strong></a> / <?php $mywp_version = get_bloginfo('version'); if ($mywp_version >= '2.7') { ?> <a href="<?php echo wp_logout_url( get_site_url()); ?>"><?php _e('Log out', TEMPLATE_DOMAIN); ?></a> <?php } else { ?> <a href="<?php echo site_url(); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account', TEMPLATE_DOMAIN); ?>"><?php _e('Log out', TEMPLATE_DOMAIN); ?></a> <?php } ?></div>
    <?php } ?>
    <?php } else { ?>
    <?php _e("Already a member?",TEMPLATE_DOMAIN); ?> <a href="<?php echo site_url(); ?>/<?php echo get_members_login_slug(); ?>/"><?php _e("Login here",TEMPLATE_DOMAIN); ?></a>
    <?php } ?>

    You would probably want to place your code before the last </div> Maybe add something like:

    <div id="adblock">HTML AD CODE</div>

    Any styling you need would then be done on #adblock.

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.