How to publish offline pages?

There isn’t really a super easy way to import content that’s saved in this manner. If you have a lot of pages with a similar structure, you may want to look into writing a script that can parse your HTML and add the images the WP way – through the Media Library. Depending on the … Read more

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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)