Hi,
Is it possible to have the widget show a different post on each page refresh?
Thanks,
Josh
http://wordpress.org/extend/plugins/genesis-featured-widget-amplified/
Hi,
Is it possible to have the widget show a different post on each page refresh?
Thanks,
Josh
http://wordpress.org/extend/plugins/genesis-featured-widget-amplified/
You could select the random orderly option.
Thanks!
I have it set to random, but it is not working. Here are my settings:
https://www.evernote.com/shard/s1/sh/4f45f8a5-9baf-4908-bce2-6d62b60c8593/06bd02ba5744aee5454884bebf697c2b
could you share a link to where this in being used?
Yes, http://goo.gl/XDKVq.
Do you have a caching plugin installed? How were the applications added? Is it using the same date or are each using a different date?
Nick,
There are no caching plugins installed.
The applications are Posts with different dates.
I can make a login for you if you give me an email address.
Thanks,
Josh
Please use my contact form. Thanks
http://designsbynickthegeek.com/contact
Josh,
Thanks for the login. You only have one post as a product so it can't change it randomly.
Hi Nick,
Thanks for looking into this.
I'm not sure what you mean by product.
Here is a screenshot showing that there are at least two posts in each of the categories which feed into the home page widgets.
https://www.evernote.com/shard/s1/sh/7b2fd690-0eff-4572-9f4b-3167ebf68b3e/77dbf76ec49d54973f821976cd176141
ok, sorry I was looking at the wrong category. I noticed, though, that you aren't using the Genesis Featured Widget Amplified plugin right now. It is the standard Genesis Featured Posts Widget built into the Genesis Theme.
Hi Nick,
The plugin was deactivated somehow. It is active now, but the posts do not change on page refresh.
Thanks again for all of your help!
-Josh
Josh,
I enabled a debug output that shows the arguments being passed to the query_posts() argument. The orderby is being correctly set to rand, if it isn't changing randomly my first guess would be a plugin breaking the query. If possible please disable all of the other plugins temporarily and test.
Hi Nick,
I disabled all other plugins and it is not working.
Could it be anything else?
Thanks,
Josh
Please try adding this to your home.php file
remove_all_filters('posts_orderby');
Hi Nick,
Thanks again for your help!
We added this to the home page, but it does not appear to be working.
What else do you advise?
Thanks,
Josh
Here is a thread that addresses orderby rand not working with several possible solutions. The one I find interesting is where a couple of users found that the host had disabled the rand options from working.
http://wordpress.org/support/topic/wp_query-orderby-random-not-working?replies=13
Nick,
Thank you so much for all of your help.
I truly appreciate that you went so far above and beyond what a plugin developer "needs" to do.
-Josh
So did that resolve the issue?
Yes. I am having a problem with the custom link on the featured image, but that is separate.
Thanks again!
Cheers
You must log in to post.