How to create a child theme without losing changes made to parent

Actually, creating a Child Theme is well documented in the Codex along with lots of tutorials. As for changes you make to the Customization screen in the parent theme, you’ll need to export those and then import them into your Child Theme. The Child Theme doesn’t inherit Customizations (I think). But there are Customization export/import … Read more

Deprecated: mysql_connect()

Go to your WAMP settings and enable php_mysqli extension. You can do that within the toolbar menu on the right. Just right click on the WAMP icon and go to PHP extensions menu. PHP 5.5 will warn about the deprecated mysql driver functions. Turn off warnings by setting Debug to false in the wp-config.php, or … Read more

Domain Pointing to www.domain.com:8888

Moving a site is more than moving the database. And it is more than updating the wp-options table’s URLs (although that is important). You also have to change any references to the old URL in the database. I use a plugin called “Better Search and Replace” to update the URLs in the database. (There are … Read more

Issues when moving from server to MAMP

The :8888 is the port your local Apache server is listening on and isn’t actually part of the url. To use your own custom domain name locally open up your host file sudo nano /etc/hosts and add this line to the bottom 127.0.0.1 custom-domain.dev Then add your domain to wp-config.php: define( ‘WP_HOME’, ‘http://custom-domain.dev’ ); define( … Read more

Storing images on a local site

There are different approaches to managing media. Most common (from my perception) are: making live site master copy of data (not doing any data input in local) use deployment process that takes care of URL change map live domain to local install while working with it store media in third location (another server, Amazon S3, … Read more