Community Forums › Forums › Archived Forums › General Discussion › home.php and front-page.php
Tagged: dynamic sidebars, genesis simple sidebar
- This topic has 12 replies, 5 voices, and was last updated 10 years, 5 months ago by
Andrea Rennick.
-
AuthorPosts
-
September 19, 2014 at 4:58 pm #125103
Yer Ly
MemberIn 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 #125114Brad Dalton
ParticipantUse the full width
//* Force full width content layout add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
September 20, 2014 at 6:06 am #125123Yer Ly
MemberThe 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 #125124Genesis Developer
Memberif you're wanting different sibebar then you can use Genesis Simple Sidebar plugin
September 22, 2014 at 8:05 am #125307Yer Ly
MemberGenesis 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 #126585lilifrancklyn
ParticipantGenesis 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 #126609Brad Dalton
ParticipantLink 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/
October 2, 2014 at 8:09 pm #126613lilifrancklyn
ParticipantHi 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 #126615lilifrancklyn
ParticipantI 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 #126617Brad Dalton
ParticipantYou 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.
October 2, 2014 at 8:22 pm #126618lilifrancklyn
ParticipantHow 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 #126621Brad Dalton
ParticipantOctober 5, 2014 at 10:21 am #126830Andrea Rennick
MemberThe 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.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.