I am validating plugin to make it compatible with WPCS. a function which contains gettext placeholder returning error when i run phpcs command. Source code and screenshot of error...
I followed the install instructions at wp-cli.org and am unable to connect to database. I am using a newly installed (this morning) version of MAMP PRO. which php /usr/bin/php...
I can add an rss widget with this command: wp widget add rss my-sidebar --title=News --items=5 But when I add a URL parameter, like this: wp widget add rss...
I’m writing a WP CLI command which creates and updates taxonomies using wp_insert_term. Actions on my custom taxonomies are not accepted since they don’t show up as registered. The...
I am working with a CPT that is using ACF fields to manage content and the hero image. With the new Archive page template, I wish to have featured...
I’ve installed wp-cli (or so I think) on my VPS, Centos 6.9. when I’m logged in as my user, wp is found; but when I run wp --info from...
I’m setting up a wordpress continuous integration environment – git->composer->bitbucket-AWS codepipeline, etc. I have yet to figure out how I automate, for the development team, the setup of the...
I am using WordPress 5.3 minimal installation and currently have not installed any other plugins. I have installed WP CLI and below is the output of wp-info: OS: Linux...
I’m running a simple query just to find simple WooCommerce products, here is the query which works fine in the header of the site: $args = array( 'post_type' =>...
I want to get all french brands. When I try with post type brand, it works (for example it returns 1000 results). wp post list --post_type=brand If I add...