I’m using WP CLI wp media regenerate to resize my thumbnails. I’ve noticed something a bit weird. The original image I upload is a JPEG with a resolution (DPI)...
I set up WP-CLI on a new server this past Monday, which worked as expected and scripts I’ve made worked following with no issue. Yesterday, running the same script...
I’m running a local dev instance of WP on my MacBookPro (WP 4.6.1 and WP-CLI 0.24.1). Can anyone explain why I might see a list of 5 or 6...
I’m writing a one-off script to update some posts in the database. Whenever there is an error in my script, it fails silently. I’ve followed the suggestions in this...
Hi I am using a Ubuntu system. I am using a shell script to download wordpress from wget, update config and run it from nginx server. Now I want...
After the following script is run wp wc product create --name="b" --categories=32 --user=user Output is printed: Success: Created product 1370. But no categories are shown in wp-admin/WooCommerce->Products page for...
I’ve installed php5-cli using bash, but WordPress is using XAMPP’s PHP 7 install. I’ve added /mnt/c/xampp/php to the PATH, and I’ve explicitly used export WP_CLI_PHP='/mnt/c/xampp/php' in .bashrc. But when...
I have a WordPress Multisite (behind a firewall). I use WP-CLI for lots of things. But for some reason wp post list does not work. wp post get works....
I want to convert a page to homepage. To add widget to homepage I need to do that. How will I be able to do that using WP CLI?...
I’m trying to make a script (bash) that examines all WordPress installations on my server and returns a set of information. I would need to know the latest known...