Forum Replies Created
-
AuthorPosts
-
Axman1413
MemberWonderful...wonderful!!! The only change I had to make was to put (is_front_page) in place of (is_home).
Thank you both for all your help.
Johnny
Axman1413
MemberWell I'm not sure, but this is what I'm thinking. I just don't know how to introduce it into the child function.php:
if ( is_active_sidebar( 'header-right' ) || has_action( 'genesis_header_right' ) ) {
if (is_front_page() {
echo '';
}
if (is_page() {
echo '^div class="widget-area"^';
do_action( 'genesis_header_right' );
dynamic_sidebar( 'header-right' );
echo '^/div^^!-- end .widget-area --^';
}
}In the child theme, it just calls the entire genesis_custom_header, so there is more needed to get this to interact with the child theme.
I'm using"^" in place of ">/<"
Johnny
Axman1413
MemberLOL, Thanks Anita (funny...that's my client's name) I just found that code in the Genesis files. Now let's see if I can rewrite it correctly.
Johnny
Axman1413
MemberWell the problem I'm having is that I just want it removed from the front_page, not the home_page. If it were the home_page, I could just jump in that file and alter it. But the static home page doesn't have this availability in Genesis.
I've been looking at Nick's stuff, but I'm spending way too much time on this. I could have gotten all these results using my Pro Version of WeaverII, where I don't have to code. It's frustrating, when a client insists on a theme, but then wants to make crazy changes.
I just need to find the add_action function for the header-right in the Genesis files, so I can copy it an rewrite it in the child f.p to not show on the is_front_page
So I'm not sure if a filter would work or what the best option is. There is a ton of material on adding things, but not a lot on removing them.
Johnny
-
AuthorPosts