• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Creating new widget area below home featured boxes in Outreach

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Creating new widget area below home featured boxes in Outreach

This topic is: resolved

Tagged: home, outreach, widget areas

  • This topic has 7 replies, 2 voices, and was last updated 10 years, 2 months ago by Brad Dalton.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 16, 2013 at 3:31 pm #51001
    MakeYourselfVisible
    Participant

    Hi,

    I'm trying to create a new widget area between the 4 featured boxes and the sub-footer widget area on the Outreach homepage but I can't figure out what hook to use. I'm able to add the area below the header following the instructions here (http://philipgledhill.co.uk/genesis-framework-widget-area/)

    If anyone could direct me towards how to add it below the featured boxes, that would be much appreciated!

    Thanks,
    David

    July 16, 2013 at 3:58 pm #51004
    Brad Dalton
    Participant

    Try this David:

    Change the hook position if needed.


    Tutorials for StudioPress Themes & WooCommerce.

    July 16, 2013 at 4:32 pm #51013
    MakeYourselfVisible
    Participant

    Hi Brad, thanks for the help! That put the widget area after the home page slider and before the home page widgets (which could work) but ideally I'd want to place it after the home page widgets.

    Do I have to change the 'genesis_after_content_sidebar_wrap' to something else? I'm kind of n00b but it looks like it's after the whole wrap and before div #home-sections.

    Thanks,
    David

    July 16, 2013 at 4:44 pm #51014
    Brad Dalton
    Participant

    Yes, All you need to do is change the hook from

    genesis_after_content_sidebar_wrap

    to another lower down like

    genesis_before_footer

    Tutorials for StudioPress Themes & WooCommerce.

    July 16, 2013 at 4:57 pm #51017
    MakeYourselfVisible
    Participant

    That worked 😀 Thanks so much Brad. I had to place your function above the sub-footer function which was also using the genesis_before_footer hook but once I did that it worked like a charm!

    Also added in the styles from Brian Gardner's tutorial and changed .welcome-text to .home-widget and now it's styling as well 🙂

    .home-widget {
        border-bottom: double #ddd;
        border-top: double #ddd;
        font-family: 'Lora', serif;
        font-size: 30px;
        line-height: 1.0;
        overflow: hidden;
        padding: 25px 0;
        text-align: center;
    }
    
    .home-widget p {
        font-size: inherit;
        line-height: 1.0;
        margin: 0;
    }

    Appreciate your help!
    David

    July 16, 2013 at 6:21 pm #51060
    Brad Dalton
    Participant

    i see, in the functions file? that would give it a higher priority which you can also do using the third parameter. Good stuff!


    Tutorials for StudioPress Themes & WooCommerce.

    July 17, 2013 at 2:32 pm #51208
    MakeYourselfVisible
    Participant

    Yep, in funcitons.php. I definitely need to do some Genesis tutorials on hooks, but that worked in solving the current problem at hand 🙂 Thanks Brad!

    July 17, 2013 at 2:58 pm #51213
    Brad Dalton
    Participant

    Action Hooks are the easiest part of PHP with Genesis.

    They're simply a position in the Genesis templates files.

    You use them in your child theme to hook in widgets and content to a specific hook location.

    There's nothing more to them.


    Tutorials for StudioPress Themes & WooCommerce.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble