Axman1413

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Where can I find the Header Right function? #5414

    Axman1413
    Participant

    Wonderful…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

    in reply to: Where can I find the Header Right function? #5303

    Axman1413
    Participant

    Well 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 “&gt/&lt”

    Johnny

    • This reply was modified 2 years ago by  Axman1413.
    • This reply was modified 2 years ago by  Axman1413.
    in reply to: Where can I find the Header Right function? #5295

    Axman1413
    Participant

    LOL, 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

    in reply to: Where can I find the Header Right function? #5290

    Axman1413
    Participant

    Well 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

Viewing 4 posts - 1 through 4 (of 4 total)