wp-cli search is returning ‘search’ is not a registered subcommand of ‘db’
wp-cli search is returning ‘search’ is not a registered subcommand of ‘db’
wp-cli search is returning ‘search’ is not a registered subcommand of ‘db’
To do this, you could use wp post list and pipe the output into wp post meta delete using xargs. Here’s an example command to delete the featured images in the meetings post type: wp post list –post_type= meetings –fields=ID –format=csv | xargs -I % wp post meta delete % _thumbnail_id You can use wp … Read more
How to change user admin_color with WP CLI?
WP-CLI cron on multisite using WP-Toolkit “succeded”, but callback not executed
Overwrite media matching post title using WP CLI’s media import command
The ‘official rules’ about site icons are here:https://www.w3.org/TR/html5/links.html#link-type-icon . They provide this example of site icons for several sizes: <link rel=icon href=favicon.png sizes=”16×16″ type=”image/png”> <link rel=icon href=windows.ico sizes=”32×32 48×48″ type=”image/vnd.microsoft.icon”> <link rel=icon href=mac.icns sizes=”128×128 512×512 8192×8192 32768×32768″> <link rel=icon href=iphone.png sizes=”57×57″ type=”image/png”> <link rel=icon href=gnome.svg sizes=”any” type=”image/svg+xml”> The above link also specifies if the ‘link … Read more
Have a look at your PHP errors. I’ve seen WP CLI fail like that because PHP fatals out.
Changing fonts and stripping tags can be done with a mySQL query. You’ll just need to figure out the right regexes to search and replace. For everything else, it sounds like you would be better off updating the single.php template. Social links, ad codes, all those sorts of things are better managed in a single … Read more
WP-CLI search-replace posts content for certain URLs
Update a post based on results from GET request to another server