Name and password development/offline mode plugin

If I understand it correctly, you’re trying to restrict access to your site while you’re building it. So visitors not logged in see some sort of maintenance mode page, while logged in visitors can access the dashboard and see the front-end while they develop? I think your best route is to use a plug in. … Read more

Shortcodes don’t work online

First, change this: include TEMPLATEPATH . ‘/extras/shortcodes.php’; …to this: include ( TEMPLATEPATH . ‘/extras/shortcodes.php’ ); Second, change TEMPLATEPATH to get_template_directory(): include ( get_template_directory() . ‘/extras/shortcodes.php’ ); (The TEMPLATEPATH and STYLESHEETPATH globals are going away eventually.) Third, make sure you namespace your function names properly. Function names “alertBox()” and “infoBox()” are far too generic. Beyond that, … Read more

Divert traffic when site down

If you are running Nginx, it is easier to implement a similar scenario with an isolated server running Nginx alone. In Nginx, the HttpUpstreamModule can be configured to divert the traffic to a completely different domain running on a different server. For example, if your site is yoursite.com, it is easy to divert the visitors … Read more

How to make WordPress using local CSS/Fonts/Scripts only

There is a plugin Airplane Mode that tweaks good chunk of network–related things core does. I am not entirely sure which kinds of external resources you mean. If you import site and its media into local development installation then most of it will be local already.