• 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

mark_s

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 14, 2017 at 9:50 am in reply to: How to update links for https:// to work #210340
    mark_s
    Member

    Hi Sanjeev, appreciate it. I wanted to fix this in the .htaccess file but decided to go with Really Simple SSL as I didn't want to break anything.
    Hopefully it's working now.
    Cheers
    Mark

    July 14, 2017 at 7:21 am in reply to: Studio Pro Front Page Setup #209104
    mark_s
    Member

    Thanks Victor!
    I've been through the documentation, there is nothing specific on how to set up those widgets. Anyone been through this before?
    Regards,
    Mark

    May 15, 2014 at 1:37 am in reply to: Primary Sidebar on One-page only #105243
    mark_s
    Member

    Please no-one use the code above I don't think it's correct. I was wondering if someone could look at this before I put it in my functions.php file to check it is correct?

    //* Force content-sidebar layout on blog page only
    
    add_filter( 'genesis_pre_get_option_site_layout', 'content_sidebar_layout_blog_page' );
    function content_sidebar_layout_blog_page( $opt ) {
    	if ( is_page( 'Blog' ) ) {
    		$opt = 'content-sidebar'; 
    		return $opt;
    	} 
    
    }

    Basically, I think this assigns a function to a new term 'content_sidebar_layout_blog_page' which makes the layout 'content-sidebar' to which I assign this functions to the page titled Blog -> is_page( 'Blog' ).

    Makes sense but don't want to white screen my site!

    May 11, 2014 at 6:49 pm in reply to: Primary Sidebar on One-page only #104570
    mark_s
    Member

    Thanks guys. Forgive my inexperience, but if I wanted to add a sidebar to my blog page only, http://www.example.com/blog/ then I would add the following code to my theme functions.php file. Hesitant to change functions.php without asking the pros first!
    -------------------------
    add_action( 'genesis_meta', 'sk_force_layout' );
    function sk_force_layout() {

    if ( is_singular('blog' ) ) {
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' );
    }

    }

    May 10, 2014 at 5:20 pm in reply to: Primary Sidebar on One-page only #104479
    mark_s
    Member

    Thanks Susan

    I have checked my functions.php files and it is not disabled.

    Different layouts in "Layout Settings" still un-selectable. It will only use default.

    Is there some code and a Custom Body Class I can use (I've seen something suggested around this, mostly to turn them off from being default)? Or can I somehow enable a Sidebar page under Page Attributes > Template dropdown?

    Many thanks
    Mark

    January 22, 2014 at 1:44 am in reply to: Disable Header Widget in Responsive Mode (e.g., Mobile) #86400
    mark_s
    Member

    Simple as that! Thank you so much Andrea.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)

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