• 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: Question regarding home.php

Home › Community Forums › Optimal Theme Support › Question regarding home.php › Reply To: Question regarding home.php

December 3, 2012 at 3:17 pm #2022
walidmrealtor
Customer

Ok, I have the following code loaded first in home.php

 

<?php

 

 

/** Add Generate Box after header **/

add_action( ‘genesis_after_header’, ‘generate_box’ );

function generate_box() {

 

if ( is_active_sidebar( ‘generate-box’ ) ) {

echo ‘<div id=”generate-box”><div class=”wrap”>’;

dynamic_sidebar( ‘generate-box’ );

echo ‘</div><!– end .wrap –></div><!– end #generate-box –>’;

}

 

}

 

add_action( ‘genesis_meta’, ‘optimal_home_genesis_meta’ );

/**

* Add widget support for homepage. If no

 

 

I’ve added all of the CSS except for the responsive. Nothing. None of the CSS is showing up. Is this code affecting that?

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