• 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

home.php and front-page.php

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 › General Discussion › home.php and front-page.php

This topic is: not resolved

Tagged: dynamic sidebars, genesis simple sidebar

  • This topic has 12 replies, 5 voices, and was last updated 10 years, 8 months ago by Andrea Rennick.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • September 19, 2014 at 4:58 pm #125103
    Yer Ly
    Member

    In my Reading Settings I have a static front page set and a posts page set.

    I have customized front-page.php and that works fine.

    I am trying to customize home.php and that's not working. Specifically I can't remove the sidebar.

    Unfortunately the site is in development so you can't view it.

    The only code I have in home.php is:

    <?php
    /**
     * Template Name: Home
    */
    remove_action( 'genesis_sidebar', 'genesis_do_sidebar');
    
    genesis();
    September 19, 2014 at 7:19 pm #125114
    Brad Dalton
    Participant

    Use the full width

    //* Force full width content layout
    add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
    

    Tutorials for StudioPress Themes.

    September 20, 2014 at 6:06 am #125123
    Yer Ly
    Member

    The reason I want to remove it is because I want to replace it with a different sidebar. I don't want it full width.

    September 20, 2014 at 6:09 am #125124
    Genesis Developer
    Member

    if you're wanting different sibebar then you can use Genesis Simple Sidebar plugin


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    September 22, 2014 at 8:05 am #125307
    Yer Ly
    Member

    Genesis Simple sidebars doesn't seem to be working.

    I have a Page that I created called Blog. I installed the Genesis Simple Sidebars plugin but when I edit the Blog Page and choose a different sidebar, it keeps showing the default sidebar.

    I know it has something to do with front-page.php and home.php...

    October 2, 2014 at 3:17 pm #126585
    lilifrancklyn
    Participant

    Genesis Simple Sidebar is not working for me either. It says that is has not been updated for 2 years. Is this true? I have it on a normal "Page" and I see it on the sidebar of the Admin for that page. The drop down menu shows this new Sidebar I've created and I chose it to "Replace Primary Sidebar" and then NOTHING HAPPENS.
    Please let me know if there is some glitch we don't know about so I don't waste any more time on this. I'm using a customized version of Genesis Sample child theme.

    I like "Content Aware Sidebars" plugin which offers far more flexibility, but then it doesn't work with Genesis framework. 🙁

    This is a really basic, important functionality and I'm frustrated that there is no solution.

    October 2, 2014 at 7:53 pm #126609
    Brad Dalton
    Participant

    Link to your site please.

    What exactly do you want to do?

    Try this http://wpsites.net/best-plugins/add-custom-sidebar-on-front-or-home-page-of-any-studiopress-theme/


    Tutorials for StudioPress Themes.

    October 2, 2014 at 8:09 pm #126613
    lilifrancklyn
    Participant

    Hi Brad,
    Thanks for responding and for the suggest of that other plugin which I will try. The site is at http://www.communitycycles.org/wp and I want to be able to display different widgets on different pages. Right now the "Primary" or default sidebar is on every page.

    Thanks, Lili

    October 2, 2014 at 8:15 pm #126615
    lilifrancklyn
    Participant

    I just had a look at the link you sent. I appreciate the tip on how to customize by hand, and I may try that. But, it is a pretty daunting task if you want to create a lot of variety with different sidebars such as in this Thesis site: http://www.alchemyofmovement.com which uses the 'Content Aware Sidebars" plugin and this other site which also uses it even better. http://solarcommunities.org/recognition-program/ This plugin is a dream. It is so flexible. Wouldn't there be some way to copy it and modify it for Genesis? I'm still baffled why such an obviously useful thing doesn't exist within the Genesis tools.

    All the best, Lili

    October 2, 2014 at 8:18 pm #126617
    Brad Dalton
    Participant

    You can use a plugin like Widget Logic which enables you to show/hide different widgets using conditional tags

    I guess you could modifiy the plugin to work with Genesis yes.


    Tutorials for StudioPress Themes.

    October 2, 2014 at 8:22 pm #126618
    lilifrancklyn
    Participant

    How could I modify it to work with Genesis? (that's probably not a simple question!!). I'm not much of a programmer. 🙂

    October 2, 2014 at 8:37 pm #126621
    Brad Dalton
    Participant

    Lili

    That would require some time and understanding of plugin Development.


    Tutorials for StudioPress Themes.

    October 5, 2014 at 10:21 am #126830
    Andrea Rennick
    Member

    The widget logic plugin works with Genesis out of the box. There's no need to modify it. It interacts with the widget screen in WordPress itself.


    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘General Discussion’ 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