Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #33840
    @ccarmichael

    What ad system works best with BuddyBoss 4.0? To keep 468×60 ads responsive… and possibly a small skyscraper ad in the right column of the theme. Was thinking of starting with Google AdSense ads, and then mixing in some of my own ads.

    Answers

    #33842

    Alyssa
    Participant
    @alyssa-buddyboss

    @ccarmichael we haven’t tested any ads. I’ll move this to the general discussion as other users may have experience here.

    #33861
    @ccarmichael

    Thanks TJ. I would be happy if I could just get a static 468×60 graphic to show up in the header to begin with, while making sure it flows well with the responsive functionality of BuddyBoss. Is this something you or someone else here could help me with?

    	<div class="header-inner">
    
            <!-- Look for uploaded logo -->
            <?php if ( get_theme_mod( 'buddyboss_logo' ) ) : ?>
                <div id="logo">
                    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php echo esc_url( get_theme_mod( 'buddyboss_logo' ) ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"></a>
                </div>
    
            <!-- If no logo, display site title and description -->
            <?php else: ?>
                <div class="site-name">
                    <h1 class="site-title">
                        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
                            <?php bloginfo( 'name' ); ?>
                        </a>
                    </h1>
                    <p class="site-description"><?php bloginfo( 'description' ); ?></p>
                </div>
            <?php endif; ?>
    
            <!-- Register/Login links for logged out users -->
            <?php if ( !is_user_logged_in() && buddyboss_is_bp_active() && !bp_hide_loggedout_adminbar( false ) ) : ?>
    
                <div class="header-account">
                    <?php if ( buddyboss_is_bp_active() && bp_get_signup_allowed() ) : ?>
                        <a href="<?php echo bp_get_signup_page(); ?>"><?php _e( 'Register', 'buddyboss' ); ?></a>
                    <?php endif; ?>
    
                    <a href="<?php echo wp_login_url(); ?>" class="button"><?php _e( 'Login', 'buddyboss' ); ?></a>
                </div>
    
            <?php endif; ?>
    
    	</div>
    #33865

    Alyssa
    Participant
    @alyssa-buddyboss

    @ccarmichael this would be classified as custom development so I can’t give you any official help, especially since the sice is not compatible with mobile devices but you need to install a child theme and copy header.php to it then add your ad code to the header.php file.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Ad System’ is closed to new replies.