• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Reply To: HOme sidebar problem

Home › Community Forums › Adapt Theme Support › HOme sidebar problem › Reply To: HOme sidebar problem

April 24, 2012 at 1:48 am #837
Cove145
Customer

I am stuck here, so I seperated the home-sidebar 1 and 2 but now I am trying to figure out the home sidebar and featured posts.
here is what I have and am working on.

*/
function adapt_home_loop_helper() {
if ( is_active_sidebar( ‘home-bottom-sidebar-1’ ) || is_active_sidebar( ‘home-bottom-sidebar-2’ ) || is_active_sidebar( ‘home-bottom-sidebar’ ) || is_active_sidebar( ‘home-featured-posts’ ) || is_active_sidebar( ‘home-bottom-top-message’ ) ) {

echo ”;

if ( is_active_sidebar( ‘home-bottom-top-message’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-top-message’ );
echo ‘‘;
}

if ( is_active_sidebar( ‘home-bottom-sidebar-1’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-sidebar-1’ );
echo ‘‘;
}

if ( is_active_sidebar( ‘home-bottom-sidebar-2’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-sidebar-2’ );
echo ‘‘;
}

echo ‘‘;

if ( is_active_sidebar( ‘home-bottom-sidebar’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-sidebar’ );
echo ‘‘;
}

if ( is_active_sidebar( ‘home-featured-posts’ ) ) {
echo ”;
dynamic_sidebar( ‘home-featured-posts’ );
echo ‘‘;
}

if ( is_active_sidebar( ‘home-bottom-message’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-message’ );
echo ‘‘;
}

}

}

genesis();

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework