Add sidebar to Portfolio interior pages?

Community Forums Forums General Discussion Add sidebar to Portfolio interior pages?

This topic is: resolved

This topic contains 13 replies, has 4 voices, and was last updated by  May31Dave 1 year, 7 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #23590

    craig
    Participant
    Post count: 4

    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?

    #23635

    AC
    Blocked
    Post count: 7712

    Please post a link to your website.

    #23649

    craig
    Participant
    Post count: 4

    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.

    #23650

    AC
    Blocked
    Post count: 7712

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

    #23651

    craig
    Participant
    Post count: 4

    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.

    #23653

    AC
    Blocked
    Post count: 7712

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

    #23655

    craig
    Participant
    Post count: 4

    I used a plug-in called Custom Sidebars which didn’t work and I just tried Genesis Simple Sidebars which didn’t work.

    #23657

    AC
    Blocked
    Post count: 7712
    This reply has been marked as private.
    #23664

    AC
    Blocked
    Post count: 7712
    This reply has been marked as private.
    #23701

    Jen Baumann
    Keymaster
    Post count: 444

    Essentially, all you need to do is remove this line from single-portfolio.php

    [php] /** Force full width content layout */
    add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ );[/php]

    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.

    [php]‘supports’ => array( ‘title’, ‘editor’, ‘author’, ‘thumbnail’, ‘excerpt’, ‘trackbacks’, ‘custom-fields’, ‘comments’, ‘revisions’, ‘page-attributes’, ‘genesis-seo’, ‘genesis-layouts’ ),[/php]


    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.

    #23722

    AC
    Blocked
    Post count: 7712

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

    #23735

    craig
    Participant
    Post count: 4

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

    #23788

    Jen Baumann
    Keymaster
    Post count: 444

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


    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.

    #36945

    May31Dave
    Participant
    Post count: 1

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

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.