Community Forums › Forums › Archived Forums › General Discussion › Add sidebar to Portfolio interior pages?
- This topic has 13 replies, 4 voices, and was last updated 12 years, 10 months ago by
May31Dave.
-
AuthorPosts
-
March 1, 2013 at 4:53 pm #23590
craig
MemberI'm using the Portfolio pages in the Executive theme but can't figure out how to add a sidebar to an interior Portfolio page. I removed the PHP code that makes the single-portfolio.php go full screen but I can't add a sidebar.
Dose anyone have a fix for this?
March 1, 2013 at 7:39 pm #23635AnitaC
KeymasterPlease post a link to your website.
Need help with customization or troubleshooting? Reach out to me.
March 1, 2013 at 8:09 pm #23649craig
MemberIt's an interior page like this: http://www.careerbuildercommunications.com/speakersbureau/portfolio/jennifer-seith/
There's a space for a sidebar but nothing shows up.
March 1, 2013 at 8:11 pm #23650AnitaC
KeymasterDo you see the sidebar on the Widget page? If so, did you drag anything into it?
Need help with customization or troubleshooting? Reach out to me.
March 1, 2013 at 8:15 pm #23651craig
MemberI did and it doesn't appear. I sent in a Helpdesk request and they said they can't help and to use the forums.
I even added a custom sidebars widget hoping that would populate a sidebar but it doesn't. I would modify the code but I'm not sure where to start.
March 1, 2013 at 8:21 pm #23653AnitaC
KeymasterWhich custom sidebars widget did you use? Did you use the Genesis Simple Sidebars plugin?
Need help with customization or troubleshooting? Reach out to me.
March 1, 2013 at 8:30 pm #23655craig
MemberI used a plug-in called Custom Sidebars which didn't work and I just tried Genesis Simple Sidebars which didn't work.
March 1, 2013 at 8:38 pm #23657AnitaC
KeymasterThis reply has been marked as private.March 1, 2013 at 9:03 pm #23664AnitaC
KeymasterThis reply has been marked as private.March 2, 2013 at 5:21 am #23701Jen Baumann
ParticipantEssentially, all you need to do is remove this line from single-portfolio.php
/** Force full width content layout */ add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
Then, if you want to add layout support to the portfolio post type, just change the supports line in functions.php to add genesis-layouts.
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'page-attributes', 'genesis-seo', 'genesis-layouts' ),
March 2, 2013 at 7:19 am #23722AnitaC
KeymasterThanks Jen! I would have never come up with that solution.
Need help with customization or troubleshooting? Reach out to me.
March 2, 2013 at 8:17 am #23735craig
MemberThank you both for all your help. This helps a lot Jen.
March 2, 2013 at 1:14 pm #23788Jen Baumann
ParticipantYou're both very welcome! I'll mark this resolved but leave it for now.
April 22, 2013 at 1:59 pm #36945May31Dave
MemberThanks Jen. This is absolutely fantastic. Accomplished what I wanted in such a simple way.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.