Pulling portfolio posts through to display in blog style

Hi,

I want to display portfolio posts on my home site using the loopers function.I have watched the documentation on YouTube and read plenty of posts in the forum on how to use them. I have integrated the space to display those on the main page but also in the footer. The areas get highlighted in red and orange, but I’m having some trouble feeding the correct strings to display portfolio posts.

Could you please have a look and provide me the correct way of implementing those changes. Many thanks in advance kind regards Jannes

Hey Jannes,

Your Looper Provider is Recent Posts and you have 2 Looper Providers.

image

You need to change the outer Looper Provider to Query Builder > Portfolio Item

Then, for the inner Looper Provider, disable the Looper Provider and set it as Looper Consumer.

Your Porfolio Items will show up after that.

Thanks @christian,
Really helpful, everything worked out perfectly.
Regards, Jannes

You are most welcome, Jannes.
We are glad @Christian was able to help you out.

I do have one follow up question. The title of one of my posts is very long, so I wanted to use the alternative index title to display on a preview. Which string do I need to use to pull the content through?

This hasn’t worked: {{dc:post:alternative%index%title}}
Thanks, Jannes

Hi Jannes

It is not very clear what is alternative index title, is that any meta field where you have added an alternative title? If that is the case, you need to use that meta key in the Dynamic Content tag {{dc:post:meta key=“your meta key”}}. If that is not the case, please explain it a bit more on this.

Thanks

Hi @tristup,

I have looked it up, apparently this is not a standard word press option it comes with Pro. For further explanation please see attached image.

Regards, Jannes

Hi Jannes

I am sorry for the confussion, I just missed that you are trying to point out the Portfolio. You need to use the following Dynamic Code to get the data for the Alternative Title field.

{{dc:post:meta key="_x_entry_alternate_index_title"}}

I have checked it in my local environment and found that it is working fine.
Thanks

Thanks so much! Regards, Jannes

You are most welcome Jannes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.