WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: PHP Execution] Avoid PHP script rerun on refresh (1 post)

  1. blevins
    Member
    Posted 3 years ago #

    I have a PHP code that pick random quotes from an array and, thanks to PHP Execution, displays result in a post.
    I would like the script to run just once (when i publish the post), and not to update with a new random quote on page refresh - i would like that the quote picked stayed in post and archive without changing at every refresh.
    Can somebody help me with this?

    PS I'm a beginner with PHP :P

Topic Closed

This topic has been closed to new replies.

About this Topic