• Resolved Jack

    (@moxie)


    The portfolio pages can be set as being a sub item/page of another portfolio item/page. But on the portfolio page in the website they are all displayed. What I would like to achieve is to display a portfolio page with links to sub portfolio itmes. In this case I’m showing locations, buildings. One building is the main portfolio item, and rooms or apartments are the sub portfolio items I want to show.

    Is that possible with this plugin? I’m using the Genesis Business Pro theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Nick C

    (@modernnerd)

    Hi, Jack.

    You could modify the portfolio archive to only show top-level portfolio items (omitting any items with a parent), and also alter the portfolio single item template to show any child items (so buildings would show your sub-items/rooms/apartments).

    I don’t have custom code for that modification, but you’re welcome to ask in the StudioPress forums or hire a Genesis developer for help.

    You could alternatively use portfolio types for your buildings and portfolio items for the rooms / apartments:

    1. Create a Portfolio Type for each building at Portfolio Items → Portfolio Types.

    2. Add an optional description and picture of the building by editing the portfolio type and filling in the “Archive Intro Text”.

    3. Create rooms/apartments as portfolio items, and assign them to the relevant building using the “portfolio type” box when you edit the portfolio item.

    This would give you a page for each building at /portfolio-type/name-of-building/ that shows all portfolio items / rooms belonging to that building.

    You would then need to create a page showing all buildings (portfolio types), either manually or by writing custom code for this.

    If you only need images and not much text content for each page, you could alternatively look into gallery plugins such as Envira Gallery or Photo Gallery. These allow you to create “albums” (you could use one for each building), each containing a group of images (one for each room/apartment). For example: https://enviragallery.com/demo/albums-demo/.

    Thread Starter Jack

    (@moxie)

    Hi Nick and thanks very much for all your suggestions!

    The alternative solution won’t work I think, because next to building there would also have to be a filering for city. And I even think they want to go abroad ;). So that makes it a bit too complicated.

    The first solution sounds better, so I will take a look at the templates to see if I can see how I could modify them.

    Thanks again!

    Jack

    Plugin Contributor Nick C

    (@modernnerd)

    You’re welcome, Jack! I’m glad we could help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to use sub portfolio items’ is closed to new replies.