• So I have this shortcode that outputs a file I uploaded elsewhere on the internet.
    It does so on every page load.
    This means that the shortcode content isn’t in the WordPress database.

    How can I get shortcode output in the WordPress database?
    It should refresh and check the external file periodically, to update the content in the WordPress database.

    Currently I simple use (one line of code)
    return '<div class="this">' . $stuff . '</div>';

    I would like to know how I can make sure that this $stuff also gets into the WordPress library.

    Thanks!

  • The topic ‘Make shortcode output searchable’ is closed to new replies.