• I am trying to establish whether a shortcode on one of my web pages is updated whenever there is a new entry or update in the database.

    As I need to study the whole ABASE shortcode set up, I don’t want to discover, after using a lot of time, the shortcode is unable to update in real time.

    Any help would be appreciated.

    Thanks

    https://www.ads-software.com/plugins/abase/

Viewing 1 replies (of 1 total)
  • Hi jjcostello01,

    Since the queries generated by [abase] are done in the page creation, you have to reload the page or implement a reload function on that page using [php_everywhere]

    Here is the php code :

    <?php
    $secondsWait = 5;
    header("Refresh:$secondsWait");
    ?>

    keep in mind that if you have forms, they will be reset each refresh! It’s never a good idea to put that code in a page with forms.
    but if your page is just a result page, that’s fine.

    Stephane

Viewing 1 replies (of 1 total)
  • The topic ‘Are shortcode results updated when the database is updated?’ is closed to new replies.