Outreach: Show Home Widgets on All Pages

Community Forums Forums Design Tips and Tricks Outreach: Show Home Widgets on All Pages

This topic is: resolved

This topic contains 8 replies, has 2 voices, and was last updated by  Darice 1 year, 4 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #39130

    Darice
    Participant
    Post count: 8

    Hi all,

    I’m still learning to navigate Genesis themes and I’d love some help with this: I’d like the ‘Home 1-4 Widget Area’ to show up on all pages.

    I’m guessing that’d be done on the ‘home.php’ but I’m not quite sure where / how.

    The section I’m talking about is the white area under the slider with the colorful images…a it’s a div with widget content.

    Thanks in advance! :-)

    http://pauseli.us/client/espres/
    #39134

    braddalton
    Participant
    Post count: 9784

    On all pages or posts or both? Including archive pages or only single static pages and not posts?

    You’ll need to create a custom function with conditional tag for all pages.

    Or create a page template and use that for all pages.

    The code in the home.php file only outputs on the home page.


    #39136

    Darice
    Participant
    Post count: 8

    The code in the home.php file only outputs on the home page,

    Well now I feel silly! That’s not uncommon, thankfully. ;-)

    I’d like it to be on all pages / posts, so this is what I’ll need some help with I guess:

    You’ll need to create a custom function with conditional tag for all pages.

    A link to a good tutorial would be great too…grateful for any guidance. :-)

    #39138

    braddalton
    Participant
    Post count: 9784

    I doubt you’ll find one for this as its very custom.

    I can give you the code if you can wait awhile.

    Is it a non profit?


    #39139

    Darice
    Participant
    Post count: 8

    Ah! I’m getting there…guess I just needed a point in the right direction.

    I used the home.php file and created a new page to tweak.

    Thanks for your assistance!

    Update:

    Yes, it is a non-profit…a local church.

    I really appreciate the offer of help – I’ll let you know if I get stuck! :-D

    • This reply was modified 1 year, 4 months ago by  Darice. Reason: Update Response
    • This reply was modified 1 year, 4 months ago by  Darice. Reason: Update Response
    #39253

    Darice
    Participant
    Post count: 8

    Update: Instead of creating a page template, I just added the home widgets / php to the functions file + removed them from the home template. Works like a charm. :-)

    Thanks again, Brad!

    #39324

    braddalton
    Participant
    Post count: 9784

    Very clever Darice.


    #39409

    braddalton
    Participant
    Post count: 9784

    I also did this today.

    Works great when using the genesis_after_header hook


    #39543

    Darice
    Participant
    Post count: 8

    Nice! That’s pretty close to what I added…but yours is more universal. Bookmarking this for reference later on! :-)

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

The topic ‘Outreach: Show Home Widgets on All Pages’ is closed to new replies.