Navigation überspringen

[Gelöst] How to build a WP query string to pull posts based on relationship

This support ticket is created vor 3 years, 3 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 15 Antworten, hat 2 voices.

Zuletzt aktualisiert von chrisC-25 vor 3 years, 3 months.

Assistiert von: Minesh.

Author
Artikel
#2422603

My issue is resolved now.Final string looks like this:

post_type=concord-albums&posts_per_page=-1&toolset_relationships%5B0%5D%5Brole%5D=child&toolset_relationships%5B0%5D%5Brelated_to%5D={{dc:post:id}}&toolset_relationships%5B0%5D%5Brelationship%5D%5B0%5D=artist&toolset_relationships%5B0%5D%5Brelationship%5D%5B1%5D=concord-albums