Tagged: enfold, post slider
-
AuthorPosts
-
August 9, 2014 at 3:39 pm #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?
August 9, 2014 at 4:08 pm #302017Hey!
Have you disabled the pagination?
August 9, 2014 at 4:11 pm #302018Thanks 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.
August 9, 2014 at 4:46 pm #302026Ok! wait support
Bye!August 9, 2014 at 7:14 pm #302043Hey!
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,
PeterAugust 9, 2014 at 9:02 pm #302067OK, so there is no way of achieving this at all?
August 12, 2014 at 4:23 pm #303282Hi!
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,
PeterAugust 12, 2014 at 5:02 pm #303318Amazing! Yes, this was disabled by WP Engine. Such a simple fix, thank you!
-
AuthorPosts
- The topic ‘Random post slider order’ is closed to new replies.
