Forums Forums Search & Filter Pro Sort by Random problem..

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #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

    Anonymous
    #4053

    Hi.. anybody?

    Ross Moderator
    #4073

    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…

    Anonymous
    #4104
    This reply has been marked as private.
    Ross Moderator
    #4171

    Thanks Dual Design will take a look later.

Viewing 5 posts - 1 through 5 (of 5 total)