Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4799

    Hey All,

    Hopefully a really simple answer. Without using the Display Everywhere widget, how can I display the Avisio Portfolio widget down the sidebar for every portfolio page? If I have to set this up one by one I don’t mind.

    I have tried using a display everywhere in conjunction with Conditional Tags and Widget Logic but it won’t display on just those items.

    Can you advise. Many thanks.

    #47546

    Update:

    Failed even when using Widget Logic set to individual posts, as below.

    is_single( array( ‘the-crookes’, ‘momentum’, ‘stuff’, ‘sheffield-uni’, ‘seat-promo’, ‘other-self’, ‘shoes’ ) ) 

    or

    is_single( ‘sheffield’ )

    #47547

    Seems like an error is occurring, flashes on the sidebar for a brief moment – even when using above PHP or:

    if( get_post_type() == ‘portfolio’ )

    #47548

    All solved. Seemed like the concept was sound, just not the execution.

    I used the single post array to choose which pages I would like the portfolio sidebar to be on. Any spaces in the code caused the error, this worked:

    is_single(array(‘the-crookes-video’,’momentum’,’reel’,’sheffield-uni’,’seat-promo’,’other-self’,’shoes’,’stuff’))

    Hope it helps!

    #47549

    Glad that you solved the problem :)

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

The topic ‘Portfolio Item Sidebar’ is closed to new replies.