• 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

Add widget area to Outreach Pro

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 › Add widget area to Outreach Pro

This topic is: resolved

Tagged: add widget area, home page, Outreach Pro

  • This topic has 7 replies, 3 voices, and was last updated 5 years, 12 months ago by bdpardue.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • May 23, 2016 at 12:19 pm #186140
    trevors
    Member

    Hi there,

    I've been struggling to add an extra widget area below the "Home Bottom" area. I've been able to add a "Home Middle" widget area but have been struggling with an extra widget area below the "Home Bottom" area. I've been reading through the fourm and trying but have not been able to get this done. It seems that the Home Middle was relatively easy to add but below the Home Bottom just above the Sub-footer is more diffcult.

    http://reachii.org/
    May 23, 2016 at 1:07 pm #186143
    Victor Font
    Moderator

    This will show you how to add a widget area. While I wrote it for the News Pro theme, it will get you started for any Genesis theme: http://victorfont.com/add-widget-areas-to-news-pro-theme/

    If you want the new widget area on the home page only, this article will nail it for you. If you want the widget area to be available on every page, you need to add a function display it in the before footer area with a higher priority than the function in front-page.php


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 23, 2016 at 8:10 pm #186163
    trevors
    Member

    Hi Victor,

    Thanks for your fast response but there are still issues. It's easy to add a widget between the Home-Top and Home-Bottom but after the Home-Bottom is challenging.

    Still no success.

    May 24, 2016 at 12:40 pm #186200
    bdpardue
    Participant

    Hi,
    Would you please share the code you used to add Home Middle to Outreach Pro?

    Thanks!

    May 24, 2016 at 6:13 pm #186223
    trevors
    Member

    Here are the additions:

    front-page.php

    if ( is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-middle' ) || is_active_sidebar( 'home-bottom' ) ) {

    //* Add home middle widgets
    add_action( 'genesis_loop', 'outreach_home_middle_widgets' );

    function outreach_home_middle_widgets() {

    genesis_widget_area( 'home-middle', array(
    'before' => '<div class="home-middle widget-area"><div class="wrap">',
    'after' => '</div></div>',
    ) );

    }

    functions.php

    genesis_register_sidebar( array(
    'id' => 'home-middle',
    'name' => __( 'Home - Middle', 'outreach' ),
    'description' => __( 'This is the middle section of the Home page.', 'outreach' ),
    ) );

    CSS to suit

    .home-middle .widget {
    margin: 0;
    padding: 0;
    }

    May 24, 2016 at 6:27 pm #186224
    trevors
    Member

    Any other thoughts on the code I need to use to enable another widget area just above the sub-footer and below the "Home-Bottom"?

    Here's the site: http://reachii.org/

    May 25, 2016 at 6:32 pm #186289
    trevors
    Member

    The best help I got to resolve this is here: http://wpsites.net/web-design/outreach-pro-add-extra-home-page-widget/

    May 26, 2016 at 7:54 am #186316
    bdpardue
    Participant

    Trevors,
    Thanks so much for your help. Just what I needed!

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add widget area to Outreach Pro’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 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