• Resolved Philipp

    (@philippmuenchen)


    Hi there!

    First of all thank you very much for the simple and very useful plugin.
    I’m just wondering if it’s possible to use <?php echo do_shortcode(‘[sortcode]’); ?> in the maintenance.php file. It doesn’t seem to load WordPress at all?

    Just tried to load WP by require( $_SERVER["DOCUMENT_ROOT"] . '/wp-load.php');but sadly without success. Shortcode support would be an amazing feature. 🙂

    Looking forward to your answer.

    Best regards,

    Philipp

    https://wordpress.org/plugins/maintenance-switch/

Viewing 1 replies (of 1 total)
  • Plugin Author Fugu Design

    (@fugudesign)

    Hi Philipp,

    First, thank you very much for your feedback.

    Unfortunately this is impossible. I also wanted to do this during development but currently, activating the core maintenance mode makes the WordPress API unavailable. This seems logical. This core maintenance mode is used during updates, so at some point the API is indeed unavailable.

    The advantage of this plugin is precisely to use the WordPress core maintenance mode, so I’m sorry but this is currently not possible to implement this feature with this plugin.

    Best regards.

    Vincent

Viewing 1 replies (of 1 total)

The topic ‘Sportcode Support’ is closed to new replies.