0

How do I use a custom theme, rather than the themes included with this plugin?

Here is the link to the plugin: http://wordpress.org/extend/plugins/wp-maintenance-mode/

I see that under the plugin's settings there is a way to choose "own style" theme and a way to link to custom stylesheet, but I want to use my own html as well.

2
  • Can we get a link to the plugin and the exact problem you are having? What have yo tried? Please provide more information.
    – Brooke.
    Commented Mar 4, 2013 at 8:25
  • 1
    If this is the plugin you are talking about see the main page for a template/instructions wordpress.org/extend/plugins/wp-maintenance-mode
    – Brooke.
    Commented Mar 4, 2013 at 8:33

2 Answers 2

0

How to do this is on the front of the plugins wordpress.org page.

http://wordpress.org/extend/plugins/wp-maintenance-mode/

You can add your own html and stylesheet and add the url of this style to the options of the plugin. Write your style to this markup and upload to the webspace; after add the url include http:// to the settings of this plugin and change th theme to "Own Theme":

Which while it is ambiguous, the settings page does offer an alternative. If you upload a dedicated maintenance html page, then use the redirect feature to redirect to it, you would have full control over the page.

It may be that this plugins themes are purely CSS based. You may be able to use the hooks and filters provided to remove and add items of content and markup, but redirects are the simplest method.

edit: After some talk with the plugin author, I've gotten the readme for the plugin and terminology changed, it seems if you put a wp-maintenance.php in wp-content it will use that instead of the default html.

7
  • Of course I saw that on the plugin's homepage. Where you place/link the css is obvious in the plugins settings/options. But where the HTML goes is not so clear to me.
    – Jesse
    Commented Mar 5, 2013 at 5:51
  • hmmm yes, I've raised an issue with the plugin author on github to see if the readme.txt can be further clarified
    – Tom J Nowell
    Commented Mar 5, 2013 at 10:15
  • Updated my answer with an alternative solution, based on the redirect part of the plugin
    – Tom J Nowell
    Commented Mar 5, 2013 at 10:17
  • Are you referring to WP's built in redirect feature? How would I use this? Also, where would I place the hooks and filters?
    – Jesse
    Commented Mar 8, 2013 at 2:42
  • There's a redirect option in the plugin settings
    – Tom J Nowell
    Commented Mar 8, 2013 at 10:26
1

The accepted answer is good, but a little outdated. Instead of wp-maintenance.php you must instead add wp-maintenance-mode.php to one of these directories.

/wp-content/
/wp-content/themes/{your_child_theme}/
/wp-content/themes/{your_theme}/

Your custom maintenance mode template will load from the wp-maintenance-mode.php file.

More info can be found here https://wordpress.org/support/topic/feature-request-allow-overriding-templates/#post-12025524

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.