Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #14518


    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:

    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?



    Maybe a widget plugin like: will help you? It generates a list of your portfolio entries. You can also try to use the “latest portfolio entries” widget instead.

    Best regards,



    Ill give that a try.

    Thank you very much!




    I hope it will solve the issue :)



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

The topic ‘Portfolio with sidebar’ is closed to new replies.