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

    Hi,

    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!

    #83774

    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.

    #83775

    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?

    #83776

    Hey!

    Maybe a widget plugin like: http://wordpress.org/extend/plugins/custom-post-type-list-widget/ 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,

    Peter

    #83777

    Ill give that a try.

    Thank you very much!

    Casper.

    #83778

    Hey!

    I hope it will solve the issue :)

    Regards,

    Peter

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

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