• 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

Fun theme, show sidebar on homepage

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 › Fun theme, show sidebar on homepage

This topic is: not resolved

Tagged: Fun Theme, home page layout

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 4 months ago by Victor Font.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 4, 2018 at 9:56 am #216065
    krystyn
    Participant

    I want to use the fun theme because of the header section, but I want to use the body differently. Despite my efforts, I can't figure out how to use more traditional widgets on the homepage and have the content-sidebar on home and then use featured widgets.

    You can see what I have here: http://www.krizzydesigns-test.com/test3/

    I've edited the homepage php, but I'm not quite getting the sidebar to the top next to the widgets (the bottom part is just pulling the basic genesis loop), but I want to use widgets there, too.

    <?php
    
    add_action( 'genesis_meta', 'fun_home_genesis_meta' );
    /**
     * Add widget support for homepage. If no widgets active, display the default loop.
     *
     */
    function fun_home_genesis_meta() {
    
    if ( is_active_sidebar( 'home-featured' ) || is_active_sidebar( 'home-products' ) || is_active_sidebar( 'home-blog-featured' ) ) {
    
    // Force content-sidebar layout setting
    		add_filter( 'genesis_site_layout', '__genesis_return_content_sidebar' );
    
    //* remove_action( 'genesis_loop', 'genesis_do_loop' );
    //* add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    
        }
    }
    
    add_action( 'genesis_after_header', 'fun_home_featured' );
    function fun_home_featured() {
    	if ( is_home() || is_front_page() ) {
    		genesis_widget_area( 'home-featured', array(
    			'before'	=> '<div class="home-featured widget-area"><div class="wrap">',
    			'after'		=> '</div></div>',
    		) );
    	}
    }
    
    add_action( 'genesis_after_header', 'fun_home_products' );
    function fun_home_products() {
    	if ( is_home() || is_front_page() ) {
    		genesis_widget_area( 'home-products', array(
    			'before'	=> '<div class="home-products widget-area"><div class="wrap">',
    			'after'		=> '</div></div>',
    		) );
    	}
    }
    
    add_action( 'genesis_after_header', 'fun_home_blog_featured' );
    function fun_home_blog_featured() {
    	if ( is_home() || is_front_page() ) {
    		genesis_widget_area( 'home-blog-featured', array(
    			'before'	=> '<div class="home-blog-featured widget-area"><div class="wrap">',
    			'after'		=> '</div></div>',
    		) );
    	}
    }
    
    genesis();
    http://www.krizzydesigns-test.com/test3/
    February 5, 2018 at 9:17 am #216097
    Victor Font
    Moderator

    The Fun Theme is not a Studio Press theme. It is a community marketplace theme from Pretty Darn Cute. Community marketplace theme developers support their themes directly. As the creators, they will be most familiar with the theme and be able to provide you with the best support. Please contact the Pretty Darn Cute support team for further assistance.


    Regards,

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

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