Get dynamic content from other post types

Hey there,

I am trying to create a post that also shows me some data from another post-type (in this case from a portfolio item) .
The ID-reference to the portfolio-item is saved as a custom-field in the post I am trying to create.

Is this possible somehow with the looper-provider? If so - how? :slight_smile:

Thanks in advance,
Phil

Hi Phil,

You can show the data of any post using the dynamic content tag and specifying the specific post ID to show. If you are specifying the specific post ID, it shows the content without depending on the looper.

Hope it helps.
Thanks

Hey Tristup,

yes I know that - but I don’t want to manually specify this - I want to use the post to showcase a project wich also shows images & info from portfolio items. That should happen dynamically and depend on what i define in the backend in the custom-field.

In the backend I would for example have a custom-field wich has a dropdown. There I could choose between 4 items.

In the frontend I would see my normal post plus everything I want to define (Titel, Feature image, etc) coming from the portfolio item I chose in the backend.

Hi Phil,

Thanks for clarifying more on what exactly you are trying to do.
I would suggest you can use the Query Builder option of Looper Provider and specify the Portfolio as Post Type to get specific posts from protfolios. For specific fields mentioned in the Posts you need to check the conditions with {{dc:post:meta key=“your key”}} if that has been selected, while showing the specific field value.

test-new-Content-Pro - 2021-05-27T190909.676

test-new-Content-Pro - 2021-05-27T191715.570

NOTE: Please select the Number option while comparing any numeric value.

Hope it helps.
Thanks

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