Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Resolved] Any way to prevent posts from updating on every page load?

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Any way to prevent posts from updating on every page load?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3855
    Adrian
    Participant

    I would like to display some random posts of the day on my homepage, but the ‘sort by random’ setting refreshes my posts on each page load.

    Any way to change this to only refresh at midnight or something? Either through a customization or even in combination with some other plugin you might know about?

    #3904
    Tom
    Keymaster

    I’m not sure if this is possible within the parameters of the plugin.

    If I was custom coding it, I would generate the posts, and save them as a transient which updates once a day. However, I don’t think that will work in the case of WPSP, as we don’t have 100% control of the code without altering core files.

    #3917
    Adrian
    Participant

    Ok good to know, thanks.

    #3921
    Tom
    Keymaster

    No problem!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.