• 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

Add sidebar to Portfolio interior pages?

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 › Add sidebar to Portfolio interior pages?

This topic is: resolved

Tagged: Executive, portfolio, Sidebar

  • This topic has 13 replies, 4 voices, and was last updated 10 years, 1 month ago by May31Dave.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • March 1, 2013 at 4:53 pm #23590
    craig
    Member

    I'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 #23635
    Anita
    Keymaster

    Please post a link to your website.


    Love coffee, chocolate and my Bella!

    March 1, 2013 at 8:09 pm #23649
    craig
    Member

    It'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 #23650
    Anita
    Keymaster

    Do you see the sidebar on the Widget page? If so, did you drag anything into it?


    Love coffee, chocolate and my Bella!

    March 1, 2013 at 8:15 pm #23651
    craig
    Member

    I 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 #23653
    Anita
    Keymaster

    Which custom sidebars widget did you use? Did you use the Genesis Simple Sidebars plugin?


    Love coffee, chocolate and my Bella!

    March 1, 2013 at 8:30 pm #23655
    craig
    Member

    I 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 #23657
    Anita
    Keymaster
    This reply has been marked as private.
    March 1, 2013 at 9:03 pm #23664
    Anita
    Keymaster
    This reply has been marked as private.
    March 2, 2013 at 5:21 am #23701
    Jen Baumann
    Participant

    Essentially, 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 #23722
    Anita
    Keymaster

    Thanks Jen! I would have never come up with that solution.


    Love coffee, chocolate and my Bella!

    March 2, 2013 at 8:17 am #23735
    craig
    Member

    Thank you both for all your help. This helps a lot Jen.

    March 2, 2013 at 1:14 pm #23788
    Jen Baumann
    Participant

    You're both very welcome! I'll mark this resolved but leave it for now.

    April 22, 2013 at 1:59 pm #36945
    May31Dave
    Member

    Thanks Jen. This is absolutely fantastic. Accomplished what I wanted in such a simple way.

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

© 2023 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