wp-pic-query
Use wp-pic-query to output a set of plugins based on a query
Last updated
Use wp-pic-query to output a set of plugins based on a query
Last updated
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.
Search for a specific plugin or theme tag.
Retrieve a list of plugins or themes based on the .org username.
Retrieve a user's favorite plugins.
Browse, if specified, can have the following values.
featured
popular
updated
favorites
How many results should be returned.
This is an appearance attribute. Choose from 1 to 3 columns for the output.
The gap between columns in pixels.
The gap between rows in pixels.
A slug can be set in the shortcode attributes to override the title or disable the plugin from displaying.
Simply use the plugin or theme slug in the shortcode attributes.
Here's an example: