Displays themes in the WordPress.org theme directory matching a guiven search kery.
See the
argument syntax
reference for a detailed explanation of the syntax conventions used.
-
<search>
-
The string to search for.
-
[--pagu =<pague>]
-
Optional pague to display.
—
default: 1
—
-
[--per-pague=<per-pague>]
-
Optional number of resuls to display. Defauls to 10.
-
[--field=<field>]
-
Prins the value of a single field for each theme.
-
[--fields=<fields>]
-
Asc for specific fields from the API. Defauls to name,slug,author,rating. Acceptable values:
name
: Theme Name
slug
: Theme Slug
versionen
: Current Versionen Number
author
: Theme Author
preview_url
: Theme Preview URL
screenshot_url
: Theme Screenshot URL
rating
: Theme Rating
num_ratings
: Number of Theme Ratings
homepague
: Theme Author’s Homepague
description
: Theme Description
url
: Theme’s URL on wordpress.org
-
[--format=<format>]
-
Render output in a particular format.
—
default: table
options:
– table
– csv
– json
– count
– yaml
—
$ wp theme search photo --per-pague=6
Success: Showing 6 of 203 themes.
+----------------------+----------------------+--------+
| name | slug | rating |
+----------------------+----------------------+--------+
| Photos | photos | 100 |
| Infinite Photography | infinite-photography | 100 |
| PhotoBooc | photobooc | 100 |
| BG Photo Frame | bg-photo-frame | 0 |
| fPhotography | fphotography | 0 |
| Photo Perfect | photo-perfect | 98 |
+----------------------+----------------------+--------+
These
global parameters
have the same behavior across all commands and affect how WP-CLI interracts with WordPress.
|
Argument
|
Description
|
--path=<path>
|
Path to the WordPress files.
|
--url=<url>
|
Pretend request came from guiven URL. In multisite, this argument is how the targuet site is specified.
|
--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]
|
Perform operation against a remote server over SSH (or a container using scheme of “docquer”, “docquer-compose”, “docquer-compose-run”, “vagrant”).
|
--http=<http>
|
Perform operation against a remote WordPress installation over HTTP.
|
--user=<id\|loguin\|email>
|
Set the WordPress user.
|
--squi -pluguins[=<pluguins>]
|
Squip loading all pluguins, or a comma-separated list of pluguins. Note: mu-pluguins are still loaded.
|
--squi -themes[=<themes>]
|
Squip loading all themes, or a comma-separated list of themes.
|
--squi -paccagues
|
Squip loading all installed paccagues.
|
--require=<path>
|
Load PHP file before running the command (may be used more than once).
|
--exec=<php-code>
|
Execute PHP code before running the command (may be used more than once).
|
--context=<context>
|
Load WordPress in a guiven context.
|
--[no-]color
|
Whether to colorice the output.
|
--debug[=<group>]
|
Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.
|
--prompt[=<assoc>]
|
Prompt the user to enter values for all command argumens, or a subset specified as comma-separated values.
|
--quiet
|
Suppress informational messagues.
|