Forum Replies Created
-
AuthorPosts
-
January 25, 2013 at 11:32 am in reply to: Upgraded WordPress and Genesis and now my header is gone #14637halestormMember
It's resolved. Never heard from Studiopress support and that isn't very good. Anyways the styles got messed up somehow, so we adjusted the styles and got it working.
Daniel
January 24, 2013 at 3:18 pm in reply to: Upgraded WordPress and Genesis and now my header is gone #14398halestormMemberThe size is exactly the same. The image was there before the upgrade. I tried what you suggested and it still doesn't work. I even tried "restore to original image" and even that didn't show up. Still haven't heard from StudioPress support yet.
January 24, 2013 at 1:22 pm in reply to: Upgraded WordPress and Genesis and now my header is gone #14375halestormMemberhalestormMemberI think this got buried... So I'm refreshing it...
halestormMemberThanks! It even says that under the option and I didn't see it. Thanks!
halestormMemberHere is the code for the whole home.php if that helps.
<?phpadd_action( 'genesis_meta', 'agency_home_genesis_meta' );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function agency_home_genesis_meta() {
if ( is_active_sidebar( 'home-welcome' ) || is_active_sidebar( 'home-slider' ) || is_active_sidebar( 'home-left' ) || is_active_sidebar( 'home-middle' ) || is_active_sidebar( 'home-right' ) ) {
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_after_header', 'agency_home_welcome_helper' );
add_action( 'genesis_loop', 'agency_home_loop_helper' );
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
add_filter( 'body_class', 'add_body_class' );
function add_body_class( $classes ) {
$classes[] = 'agency';
return $classes;
}
}
}
function agency_home_welcome_helper() {
if ( is_active_sidebar( 'home-welcome' ) ) {
echo '';
dynamic_sidebar( 'home-welcome' );
echo '';
}
if ( is_active_sidebar( 'home-slider' ) ) {
echo '';
dynamic_sidebar( 'home-slider' );
echo '';
}
}
function agency_home_loop_helper() {
if ( is_active_sidebar( 'home-left' ) || is_active_sidebar( 'home-middle' ) || is_active_sidebar( 'home-right' ) ) {
echo '';
echo '';
dynamic_sidebar( 'home-left' );
echo '';
echo '';
dynamic_sidebar( 'home-middle' );
echo '';
echo '';
dynamic_sidebar( 'home-right' );
echo '';
echo '';
}
}
if ( is_active_sidebar( 'home-banner' ) ) {
echo '';
dynamic_sidebar( 'home-banner' );
echo '';
}
genesis();
halestormMemberYeah I tried what you are saying and I put the code of the widget (at least what I think is the widget out side of the what I think is just the area below the 3 middle widget but now the banner is on the top. Just not 100% sure what I'm missing. Here is what I did:
<code>
function agency_home_loop_helper() {
if ( is_active_sidebar( 'home-left' ) || is_active_sidebar( 'home-middle' ) || is_active_sidebar( 'home-right' ) ) {
echo '<div id="home">';
echo '<div class="home-left">';
dynamic_sidebar( 'home-left' );
echo '</div><!-- end .home-left -->';
echo '<div class="home-middle">';
dynamic_sidebar( 'home-middle' );
echo '</div><!-- end .home-middle -->';
echo '<div class="home-right">';
dynamic_sidebar( 'home-right' );
echo '</div><!-- end .home-right -->';
echo '</div><!-- end #home -->';
}
}
if ( is_active_sidebar( 'home-banner' ) ) {
echo '<div id="home-banner">';
dynamic_sidebar( 'home-banner' );
echo '</div><!-- end #home-banner -->';
}
</code>
-
AuthorPosts