WordPress.org

Ready to get started?Download WordPress

Forums

WP Maintenance Mode
[resolved] Some problems with WP 3.9.x and PHP 5.4+ (3 posts)

  1. antwal
    Member
    Posted 3 months ago #

    Hi,

    the plugin not load all resources

    Thanks.

    https://wordpress.org/plugins/wp-maintenance-mode/

  2. antwal
    Member
    Posted 3 months ago #

    Tryed to use custom hook, not working!!!

  3. antwal
    Member
    Posted 3 months ago #

    I have change this lines:

    // Allow alternative splash page
    				if ( file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
    					include( WP_CONTENT_DIR . '/wp-maintenance-mode.php' );
    				else
    					include('site.php');

    with this lines:

    // Allow alternative splash page
    				if ( file_exists( get_template_directory() . '/wp-maintenance-mode.php' ) )
    					include( get_template_directory() . '/wp-maintenance-mode.php' );
    				else
    					include('site.php');

    and load the custom page on my current theme, it working very well.

    Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.