Forum Replies Created
-
AuthorPosts
-
brace1Member
No, that doesn't do it. I seemingly can't put anything against whether the home page is_home.
Landscape is different from many genesis themes because of it's use of home.php. They have a #homepage id being called and the code looks like this:
<?php get_header(); ?> <?php genesis_home(); ?> <div id="homepage"> <?php if( function_exists('wp_cycle') ) : ?> <?php wp_cycle(); ?> <?php endif; ?> </div> <?php get_footer(); ?>
Is there a loop being called at all on the Landscape home page? That would explain it, though I don't know how to fix.
~Joe
brace1MemberWait, my fault. Switch them.
I want the nav above the header.
brace1MemberI've done this 100x before.
For the home page, I'd like to have what it says. Move the nav above the header.
For all other pages, I'd like it to be regular. I'll probably end up hiding it completely.It is as if the engine is just ignoring the conditional.
~Joe
brace1Memberif (is_home()) { add_action( 'genesis_after_header', 'genesis_do_nav' ); remove_action( 'genesis_before_header', 'genesis_do_nav' ); }
Appears on all pages.
brace1MemberSo this is what I built, but there is an error somewhere:
<?php remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'child_home_loop_helper' ); // Execute custom child loop function child_home_loop_helper() { ?> <div class=“top-featured”> <?php if (!dynamic_sidebar(‘Top Featured’)) : ?> <div class="widget"> <div class="wrap"> <p><?php _e("This is a widgeted area which is called Featured Top.”, 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div><!-- end .top-featured --> <div class=“second-featured”> <?php if (!dynamic_sidebar(‘Second Featured’)) : ?> <div class="widget"> <div class="wrap"> <p><?php _e("This is a widgeted area which is called Second Featured.”, 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div><!-- end .second-featured--> <div class=“bottom-featured”> <?php if (!dynamic_sidebar(‘Bottom Featured’)) : ?> <div class="widget"> <div class="wrap"> <p><?php _e("This is a widgeted area which is called Bottom Featured.”, 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div><!-- end .bottom-featured--> <?php } genesis();
brace1MemberYeah, I built it a different way, but I think that is where we are heading.
Thanks.
brace1MemberExcept I want the Featured widget in the bottom as well. That is more of an ALL, "loop-like" image.
Thanks.
brace1MemberYes, but that doesn't help me if I am using different categories. I have three widgets. The first two pull from one "Featured" category, which are top stories. The third one takes everything.
The problem is that I cannot hide previously shown posts in the third widget. I can in the standard widget, but not the Amplified one.
Thanks,
Joe
-
AuthorPosts