• 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

Magazine Pro: Alt-Sidebar Not Appearing

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 › Magazine Pro: Alt-Sidebar Not Appearing

This topic is: not resolved

Tagged: Magazine Pro, Secondary Sidebar

  • This topic has 14 replies, 2 voices, and was last updated 9 years, 2 months ago by Anita.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • November 3, 2013 at 4:50 pm #70726
    ithacaindy
    Member

    I'm stumped why the secondary-sidebar won't appear on my live site, but it does appear on my dev site. The dev site has the same plugins activated and there's no problem getting the secondary-sidebar to show. When I activate Magazine Pro on my live site, however, the secondary-sidebar doesn't appear.

    I've double checked to make sure the content-sidebar-sidebar default display is selected. I've tried sidebar-sidebar-content just to be sure - no go. I've cleared the browser cache and the site cache. When I try the live preview of Magazine Pro, both sidebars of the theme do appear. But once I activate the theme, the secondary-sidebar doesn't appear and the secondary-sidebar isn't listed when I view the page's HTML source.

    Any clues?

    http://ithacaindy.org and ithacaindy.com
    November 3, 2013 at 5:20 pm #70727
    Anita
    Keymaster

    Using Firefox, I am able to edit the HTML and type something in there. So it's there. What type of content do you have in that widget area.


    Love coffee, chocolate and my Bella!

    November 3, 2013 at 9:23 pm #70751
    ithacaindy
    Member

    The secondary sidebar has only a widget which lists the recent posts. I'm using Firefox/firebug and the secondary sidebar appears neither in the HTML code nor the page output.

    The secondary-sidebar problem seems limited to the Magazine Pro child theme. I switched the live theme to Eleven40 Pro and both sidebars appear. I switch back to MP and only the main sidebar appears.

    November 4, 2013 at 6:49 am #70796
    Anita
    Keymaster

    I see the secondary sidebar on here ithacaindy.com with Recent Posts. Now I don't see the Primary Sidebar. Do you have something in there? Somehow that code doesn't look right. If you have any content in your widget areas using DIVs, make sure they are closed.


    Love coffee, chocolate and my Bella!

    November 4, 2013 at 8:06 am #70811
    ithacaindy
    Member

    The sidebar appears fine on my dev server -- ithacaindy.com. The problem is with my live server -- ithacaindy.org --which because it is live has a different theme running most times. However, when I switch to Mag Pro, the secondary sidebar never appears. The secondary sidebar will appear in the "live" theme preview, but not after the theme is activated. When Mag Pro is activated it is running the stock child theme with no modifications.

    November 4, 2013 at 8:17 am #70812
    Anita
    Keymaster

    This is what I see in Firefox - http://awesomescreenshot.com/0721ww1n30. I see the Content area - the blank area in the middle is where the Primary Sidebar goes and the last column is the Secondary Sidebar.


    Love coffee, chocolate and my Bella!

    November 4, 2013 at 8:38 am #70814
    ithacaindy
    Member

    Yep. That is the dev site - which works fine. On the live site with the exact same theme, the exact same plugins and the exact same widgets, the secondary sidebar does not appear nor does it show in the HTML source - meaning it is not even generated. I can switch to another child theme and the secondary sidebar of that theme appears.

    November 4, 2013 at 8:47 am #70818
    Anita
    Keymaster

    Where is the LIVE site so I can take a look?


    Love coffee, chocolate and my Bella!

    November 4, 2013 at 9:04 am #70819
    ithacaindy
    Member

    ithacaindy.org. The Mag Pro theme will be online until noon eastern so you can check it out.

    November 4, 2013 at 9:10 am #70820
    ithacaindy
    Member

    Interesting. The secondary sidebar appears on the single post page, but not the home page.

    November 4, 2013 at 9:12 am #70821
    ithacaindy
    Member

    I fixed it. the .frontpage file was forcing the content-sidebar layout. I commented that out and the secondary sidebar appears.

    November 4, 2013 at 9:20 am #70825
    Anita
    Keymaster

    The home page needs to be configured for content-sidebar-sidebar. It's currently set to content-sidebar. If you want to "force the layout" of the home page copy this into your Functions.php file:

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

    At the end of the line make sure there is an - ;


    Love coffee, chocolate and my Bella!

    November 4, 2013 at 9:23 am #70831
    Anita
    Keymaster

    Don't use my code, it's broken. This dang thing strips code. Go here - http://my.studiopress.com/snippets/admin-management/. The first section is Force Layout Settings. Look for content-sidebar-sidebar. You don't need the entire box.


    Love coffee, chocolate and my Bella!

    November 4, 2013 at 9:25 am #70836
    Anita
    Keymaster

    Ok, I got the code to work correctly now -

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

    Love coffee, chocolate and my Bella!

    November 4, 2013 at 9:32 am #70842
    Anita
    Keymaster

    Glad you got it working.


    Love coffee, chocolate and my Bella!

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