wp-pic-query
Use wp-pic-query to output a set of plugins based on a query
The
wp-pic-query
shortcode is used to output a set of a plugin based on a query you specify.All of the
wp-pic
shortcode attributes apply as well. You may need to change type
to 'theme' if you are querying for themes.Here are the available parameters.
Search the plugin or theme directory for a keyword. Example of retrieving plugins that have to do with higlighting.
[wp-pic-query search="highlight"]
Search for a specific plugin or theme tag.
[wp-pic-query tag="dark,four-columns" per_page="4" type="theme" layout="wordpress" align="center" ajax="yes" cols="2"]
Retrieve a list of plugins or themes based on the .org username.
[wp-pic-query author="automattic" per_page="6" type="plugin" layout="wordpress" align="center" ajax="yes" cols="2"]
Retrieve a user's favorite plugins.
[wp-pic-query user="briKou" per_page="4" type="plugin" layout="wordpress" align="center" ajax="yes" cols="2"]
Browse, if specified, can have the following values.
- featured
- popular
- updated
- favorites
[wp-pic-query browse="popular" per_page="6" type="plugin" layout="card" margin="1rem" ajax="yes" cols="2"]
How many results should be returned.
[wp-pic-query tag="buddypress" per_page="2" type="theme" layout="large" align="center" align="center"]
This is an appearance attribute. Choose from 1 to 3 columns for the output.
Last modified 8mo ago