Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #302015

    I have just updated the parent theme to 2.9.1 and followed the instructions here: http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/

    The order and orderby option boxes appear as they should, but when I select ‘Random’ nothing happens – the order of items in the post slider modules remains the same and is not random.

    Can you help?

    #302017

    Hey!

    Have you disabled the pagination?

    #302018

    Thanks for your response. Pagination is not in use anywhere. It is just the homepage of the site with a few post slider ‘Content Elements’ dropped in.

    #302026

    Ok! wait support
    Bye!

    #302043

    Hey!

    Afaik this is a limitation of the wordpress taxonomy query which does not support the random parameter. You can only sort it by title/date with an ASC/DESC order. I tested both sort and both order parameters and a different post showed up each time and the query contained the right values – thus the code/query works as intended and it seems to be a wordpress limitation or bug…

    Best regards,
    Peter

    #302067

    OK, so there is no way of achieving this at all?

    #303282

    Hi!

    Actually, after some research, I found out it’s not a wordpress but host/server limitation: http://wordpress.org/support/topic/wp_query-orderby-random-not-working#post-3104360

    Try to contact your host or activate the rand orderby setting if possible

    I was developing a site on WP Engine. They actually disable the Orderby Rand Function. If you happen to be using WP Engine, in the dashboard area they put in the WP Admin go there scroll down and make sure the Orderby Rand function is not disabled. You would not believe what I went through before I deduced that it was the host causing the problem

    Regards,
    Peter

    #303318

    Amazing! Yes, this was disabled by WP Engine. Such a simple fix, thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Random post slider order’ is closed to new replies.