Hello,
if we set an offset (n+1 for each element) for the elements of a custom post type in random sort order it causes in duplicates (limit post number: 1).
Lets explain it in detail:
We set filter to show only a custom posttype named as “werbepartner1”.
Additionally we set a filter for a sort order : “Random Posts”.
Additionally we set a limit post number to “1” (only one element should be shown)
Additionally we set an offset for each element: n+1 (first element is offset 0, second element offset 1 e.g.)
We have to split this custom type elements. If we show the whole block without offset and limit post number it will work without duplicates, but this is not a solution. We need to devide each element of the custom type with an offset to set data between of this elements.
You can see it on the development site: http://dev.bwa-sport.de/



Thank you for your help in advance.
Kind regards,
Christian
Hello,
A solution could be to use the unique article option, follow this guide: https://forum.tagdiv.com/unique-articles/
This option automatically removes duplicate posts from the page.
Thank you!
Hello Christian!
You should have the page template settings panel: https://prnt.sc/Q_vl_HV9bAfL
Thank you!
Hi,
I would like to take a look, can you please contact us via email at contact@tagdiv.com and provide the wp-admin access?
Thank you!


.