Hi Cindy,
My name is Zarla and I was just reading your post. Did you get your problem resolved with page creation of “Own Theme” field in settings?
I’m asking because now I have a problem with it. If you can provide a resolution I would appreciate it.
Thanks,
Zarla
You must only add the stylesheet-adress. the stylesheet must format the markup of the site.php of the plugin, the markup is also on the readme-site of the plugin, thats all.
Sorry, I cannot quite grasp what you are trying to explain. Can you give an example of EXACTLY how to write the path to one’s own style sheet? And in what directory in the WordPress site would I place that stylesheet?
For example, say I wanted to use maintenance.css, and I had a theme installed, say call it wildchild.
Would I put my maintenance.css file in the wp-content/themes/wildchild directory?
If so, then in filling out the Own Style address, exactly what would that address be?
This info would be much more helpful to overcome the language barrier. Thanks in advance
This has been very confusing to me as well, and I’m not claiming to be 100% sure, but I think I finally figured it out.
What Frank (the plugin author) is saying is that you can only customize the CSS or use the php hooks to modify the site maintenance page that is displayed. There is no way for the plugin to display a static HTML page.
The HTML provided is confusing… Naturally one thinks they are supposed to edit the HTML and put that file somewhere, but your not supposed to do that. The provided HTML is just dummy HTML for people to style CSS around. The HTML is based on what is created by the plug-in via the site.php file.
To get a sense of how the packaged themes work take a look at the CSS files inside /wp-maintenace-mode/styles
So if you want to customize the HTML of the maintenance page what you really need to do is use the hooks in site.php (wm_head, wm_content, wm_footer) to modify the page.
I should add, you can put your CSS anywhere, but you shouldn’t put it in the plug-in directory nor in the parent theme (as both of these may get wiped out in updates). Assuming you’re customizing your WP theme using a child theme put the CSS there and provide the full URL to the css.