I have a desktop and a laptop: What’s the best way to move between local installations?

From personal experience sync between two different computers work best in one direction. For example your desktop is primary and notebook is precise mirror (yep, of whole directory tree preferably with tool that doesn’t touch unchanged files). Two way sync gets messy very fast for web stack. If you need to actively work with same … Read more

Unable to include a file in child theme

get_stylesheet_directory_uri() Note that this returns a properly-formed URI; in other words, it will be a web-address (starting with http:// or https:// for SSL). As such, it is most appropriately used for links, referencing additional stylesheets, or probably most commonly, images. get_stylesheet_directory() Retrieve stylesheet directory Path for the current theme/child theme. Note: Does not contain a … Read more

How do I make my particular WordPress public?

Let’s assume you’ve installed WordPress as described here, directly in a folders named 816 under your xampp/htdocs/, and this, without any alterations (modifying settings or any configurations to neither your xampp nor WordPress installation); having defined the nameservers of your domain name (here, example.com) to point to your IP, let’s say: 192.182.230.1, The following apply … Read more

“Class ‘Phar’ not found” error setting up WP-CLI with Cygwin

You are missing the Phar extension or it’s not enabled. Which version of PHP are you actually running? Check it with php –version. The Phar extension is bundled with PHP as of PHP version 5.3.0, and enabled by default. See https://www.php.net/manual/en/phar.installation.php. Your best bet is to upgrade PHP to at least PHP 7.1. Alternatively follow … Read more