• 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

Agency Pro Sidebar on Home Page

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 › Agency Pro Sidebar on Home Page

This topic is: not resolved

Tagged: agency pro, home page, Sidebar

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by chamster.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 21, 2014 at 1:50 pm #95981
    chamster
    Member

    Does anybody know if it's possible to create sidebar widget areas for the home page on Agency Pro? I'm using the home-top and home-middle widget areas, but I don't want them full-width. I'd like to have a right sidebar like on the static pages, but it would have different content on the home page.

    Thanks!

    March 21, 2014 at 2:22 pm #95984
    Brad Dalton
    Participant

    Remove this from Line 34 of your front-page.php file

    //* Force content-sidebar layout setting
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    

    You will need to tweak the CSS


    Tutorials for StudioPress Themes.

    March 21, 2014 at 4:23 pm #95996
    chamster
    Member

    Thanks. That worked to put the sidebar on the home page.

    It was below the home top widget area, so I replaced

    //* Add homepage home-top
    add_action( 'genesis_after_header', 'agency_homepage_top' );

    with

    //* Add homepage home-top
    add_action( 'genesis_before_loop', 'agency_homepage_top' );

    on line 46. That put the sidebar up at the top-right, where I wanted it.

    In order to show different sidebar content on homepage vs. interior, I used the Display Widgets plugin.

    Thanks for the help!

    March 21, 2014 at 8:38 pm #96021
    Brad Dalton
    Participant

    Or you could add conditional tags after the function in the code.


    Tutorials for StudioPress Themes.

    March 22, 2014 at 9:55 am #96073
    chamster
    Member

    Good idea. Might make for faster page loading vs. having another plugin.

    Not sure where one would put that conditional code though.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

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