- This topic has 4 replies, 2 voices, and was last updated 11 years, 6 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Sort by Random problem..
Tagged: random
Hi
I’m having problem to set the loop with random sort, appears to me some repeated images.
Site in question: http://galerize.com
Hey Dual Design
I actually tried to look at this last night but I couldn’t see anything (just the text “galerize.com” on a black screen)…
The plugin uses WP built in random function (see http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters) and look for “rand” – so if this method allows duplicates then it will appear this way in your posts – but I don’t think it does….
Do you possibly have any duplicates of your posts, or any other post types that have the same info?
Try checking and making sure you only have one “post type” selected in the settings panel and see if you still get duplicates?
If not I will test this function myself at the weekend and see if there is a way to prevent duplicates – but if this is the way WP is made, then I don’t think there will be much I can do…
Thanks Dual Design will take a look later.