If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I try to create a portfolio with a sidebar with the other portfolio items. To do this I am using the widget logic plugin but there is two things that I can’t figure out:
a) how do I filter the portfolio items in widget logic?
b) how can I place portfolio items in a custom menu?
You can see my progress here: http://tincan.nl/site/?portfolio=farmcamps
Thanks a lot!
1) You can filter portfolio items with following conditional:
get_post_type() = 'portfolio'
2) Afaik there’s no direct way to add portfolio items to the menu (WP doesn’t support posts and/or custom posts as menu items). However you can use the Link field to “hardcode” the portfolio items into your menu.
Ah, thanks a lot! 1
I don’t know what widget to use this conditional on though. There is no existing widget that makes a menu-style list of pages / posts that can be filtered to just portfolio. It would be best to use a “post” or “page” widget and then filter for ‘portfolio’ since it’s not needed to make a custom menu then. Any ideas?
The topic ‘Portfolio with sidebar’ is closed to new replies.