• 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

Adding primary sidebar to home, modern portfolio

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 › Adding primary sidebar to home, modern portfolio

This topic is: not resolved

Tagged: home page, modern portfolio, primary sidebar

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago by Elaine Griffin.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 4, 2013 at 11:05 am #70866
    Elaine Griffin
    Member

    Hello,
    I've put the genesis featured widgets in the about and portfolio sidebars to mimic a magazine-type layout, with a featured post and some recent posts after it. I still want the sidebar to show, though, and I'm not sure what to do to get it to display. I looked at the php files, and other than adding the sidebar to the home and functions files (which I tried to do, and it failed) I'm not sure what else to do.
    Thanks for any help!

    http://elainegriffindesigns.com/blog/
    November 4, 2013 at 4:06 pm #70933
    nutsandbolts
    Member

    Look in your home.php and find this:

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

    Add two slashes on the second line to change it to this:

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

    That will prevent the theme from forcing a full width layout on the homepage.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 6, 2013 at 5:22 am #71225
    Elaine Griffin
    Member

    Thanks, Andrea. That worked, but for some reason my navigation disappeared.
    I have decided to just go with a normal layout - I think I was over-thinking it, but it would be good for me to figure out why the nav disappeared.

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