Layout Builder - Display related (tags) posts/portfolio

Hi,

I am creating a template layout, using the Single Post layout from Design Cloud as a base.
I am converting from Post to Portfolio item.
I will have several Portfolio items with different tags.

I am building a Related portfolio items area in a section that is fetching more Portfolio items, by using Looper Provider, with Query Builder for Portfolio items, on the row.

  1. How can i exclude the Current Portfolio item to be fetched in this Related Portfolio items query?
  2. How can I fetch only the portfolio items that are related with the current portfolio items (by sharing 1 or more tags)?

Thank you

Hi @PanInternational,

Thanks for reaching out.
Please find the answer to your queries below:

  1. Regretfully there are no such options to exclude the current item while using the looper, still, you can try by using the Query String option with the Offset value. Please find the details on the offset here in this article: https://developer.wordpress.org/reference/classes/wp_query/#pagination-parameters

About-Content-Pro (1)

  1. Regretfully, there is no such option to do so.

I would also request you to go through the following videos on the Looper.


Hope it helps.
Thanks

Hi @tristup,

Thank you for your reply.
I will give it a shot.

The option of having related posts/portfolio available on a blog post, is very common. Too common I would say.
Please forward this request for future updates.

Cheers

Hi @PanInternational,

Thanks for reaching out.

Thanks for your detailed explanation, I will make a feature request so it might be taken into account in the future.

Hope that helps.

Thank you.

Hi I think I am looking for the same but just to make sure I understand…there is no way to display the tags on a post in the single post layout creator?

Hello @clefler,

Thanks for writing to us.

It has been already taken as a feature request so it might be taken into account in the future.

Thanks for understanding

Ok thx. I would also say it is a pretty standard feature and a needed one. Is it possible to add the same code into the layout that creates the tags on normal WordPress posts?

Hello @clefler,

With the release of the recent update, we have included several Looper Providers. You can use “All Terms” and select “Tags” to display a tag cloud.

For more details, please check out this updated documentation on Loopers:

Best Regards.

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