WordPress.org

Forums

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

  1. antwal
    Member
    Posted 1 year ago #

    Hi,

    the plugin not load all resources

    Thanks.

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

  2. antwal
    Member
    Posted 1 year ago #

    Tryed to use custom hook, not working!!!

  3. antwal
    Member
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Maintenance Mode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.