Skip Navigation

[Resolved] Query Filter – Do Not Duplicate

This support ticket is created 7 years, 4 months ago. 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 7 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#462969

Is there a way to implement a "do not duplicate post" type functionality when using Views? Here's an example of what I mean: https://codex.wordpress.org/The_Loop#Multiple_Loops_in_Action

A lot of my pages have multiple Views and sometimes the queries overlap.

#463071

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

No - there is no native way to check duplicate post in view inside view but you may try to use custom shortcode or function same as the example you shared and use that custom shortcode or function using our [wpv-conditional] shortcode:

More info:
=> https://toolset.com/documentation/user-guides/conditional-html-output-in-views/using-custom-functions-in-conditions/
=> https://toolset.com/documentation/user-guides/conditional-html-output-in-views/using-shortcodes-in-conditions-2/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.