If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
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’ ) )
is_single( ‘sheffield’ )
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’ )
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:
Hope it helps!
The topic ‘Portfolio Item Sidebar’ is closed to new replies.