Community Forums › Forums › Archived Forums › Design Tips and Tricks › Metro Pro Home Page Custom Sidebar
- This topic has 10 replies, 3 voices, and was last updated 10 years ago by KM.
-
AuthorPosts
-
April 13, 2014 at 1:13 am #99915KMMember
Hello, I am customizing the Metro Pro theme and would like to know how to replace the Primary Sidebar on the Home page with a Custom Sidebar that appears on the Home page only.
Would this have to be a custom widget or can it be a content block?
Thank you.
April 13, 2014 at 1:42 am #99917Brad DaltonParticipantYou can use the Genesis Simple Sidebars plugin for this or hand code it.
April 13, 2014 at 9:42 am #99974KMMemberThank you Brad. If I use Genesis Simple Sidebars for the Metro Pro theme, where do I select my custom sidebar? I don't know which page is the home page under "Pages"
Also, Is there a way I can make this new sidebar a content block so that the visual editor can be used to manage the content?
April 13, 2014 at 9:46 am #99982Brad DaltonParticipantYou would also need to add custom code to display the sidebar on the home page.
Sidebars don't use the visual editor however you can use text widgets or a custom field.
April 13, 2014 at 10:06 am #100019KMMemberCan you provide the custom code to add this sidebar to the Home page or direct me to a tutorial? Thanks Brad!
April 13, 2014 at 5:03 pm #100105Lauren @ OnceCoupledMemberHope I'm not encroaching on this conversation! Alternative tutorial: http://brianlis.com/add-a-unique-sidebar-to-the-genesis-home-page.htm/ This isn't using the genesis simple sidebars plugin. You may find more information by simply googling "genesis sidebars home page only" 🙂
Best,
Lauren
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
April 13, 2014 at 5:31 pm #100107KMMemberOMG that worked perfectly! Thanks sooooooooo much Lauren, I've been working on it all day. And thanks for pointing me in the right direction Brad.
Cheers.
April 13, 2014 at 5:51 pm #100109KMMemberAlso forgot to mention that there is an error in the tutorial but someone posted the fix in the comments. Here it is:
-----------------------------------------------------------------------
I managed to figure out what was causing the issue with my implementation of this technique.It looks like we need to follow a slightly different naming convention when creating a sidebar template file. Since we declare the sidebar as “home-sidebar” we need to have a template waiting for it called “sidebar-home-sidebar.php”, and not just “home-sidebar.php”.
-----------------------------------------------------------------------April 13, 2014 at 7:31 pm #100110Lauren @ OnceCoupledMemberGlad you got it worked out, and thanks for pointing out the fix. 🙂 I had completely misread this question until Brad started helping you with it - happy to have understood it later and contributed!
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
April 14, 2014 at 2:31 am #100137Brad DaltonParticipantHere's another way to get the job done if you like to use the Genesis Simple Sidebar plugin http://wpsites.net/best-plugins/add-custom-sidebar-on-front-or-home-page-of-any-studiopress-theme/
April 14, 2014 at 2:14 pm #100270KMMemberThank you Brad, I will definitely use that for a different scenario I have on another website.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.