BuddyBoss Home – Web › Support Forums › General › BuddyPress (general issues) › Ad System
- This topic has 3 replies, 2 contibutors, and was last updated 9 years, 11 months ago by Alyssa.
Question
December 6, 2014 at 11:53 am #33840@ccarmichaelWhat 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
December 6, 2014 at 12:38 pm #33842@alyssa-buddyboss
AlyssaParticipant@ccarmichael we haven’t tested any ads. I’ll move this to the general discussion as other users may have experience here.
December 7, 2014 at 12:53 pm #33861@ccarmichaelThanks 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>
December 7, 2014 at 7:24 pm #33865@alyssa-buddyboss
AlyssaParticipant@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.
- The question ‘Ad System’ is closed to new replies.