Jump to content
Sign in to follow this  
erik@grancanaria360.com

Feature slide random loading possible?

Recommended Posts

erik@grancanaria360.com

Hi! I was wondering if there is a way of making the features section in a determined page load it's features in a random mode, so you could have an extensive list of features showing "control-less", inviting the user to explore articles in your site regardless of how old they are. I guess this could be a away of giving some exposure to older articles and get the user to spend more time in the web.. In case this is possible, could this be applied to other sections (boxes or banners, for instance)? Just wondering. Thanks!!

Share this post


Link to post
Share on other sites
cybersphere
Hi Erik, I like that idea also. 'Random' but 'clever random order to prevent the same slide displaying twice back-to-back. I'm in... where do I sign up? :)

Share this post


Link to post
Share on other sites
erik@grancanaria360.com
Thanks! Hopefuly this is something that won??t be too difficult to implement .. In my experience, though, the thing with random is that it is, eerr..RANDOM!! :D So chances are you will get the same slide repeated from time to time. Good thing is, as the volume of your content grows, the chances that the same slide repeats itself are more remote.. Will be keeping an eye on this thread to see what happens... ;-) Best, Erik.

Share this post


Link to post
Share on other sites
Simon
Be easy to implement, copy the features folder from pagelines/sections/ to your base child theme/sections folder, and rename inside the header of section.php, so you can tell the new custom one. Now scroll to near the bottom of the file and you will see the wp_query section, you can pass args here to make it random.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×