Forums › Forums › Search & Filter Pro › Sort by Random problem..
Tagged: random
- This topic has 4 replies, 2 voices, and was last updated 12 years, 2 months ago by
Ross.
-
Anonymous(Private) August 20, 2014 at 3:47 pm #3809
Hi
I’m having problem to set the loop with random sort, appears to me some repeated images.
Site in question: http://galerize.com
Ross Moderator(Private) August 28, 2014 at 1:33 pm #4073Hey 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…
Ross Moderator(Private) September 1, 2014 at 9:36 am #4171Thanks Dual Design will take a look later.
-
AuthorPosts