Plugin – Plugin Ratings
wp-plugin-ratings-1.0.0 Click to download
This plugin marks a change in how and what I do. Firstly, it’s one of a new range of plugins that I’m going to be releasing in the near future. It’s not BuddyPress related, and is actually pretty specialist, as it is a shortcode that allows a webpage to pick up the reviews for a plugin in the WordPress repository. As such, it is only going to appeal to developers, in the main. But, it’s a plugin I use on this website, and is a fork of Plugin Reviews, which has stopped working, and really, never got completed. So I’ve fixed it up, and I am making it available here, for free.
What does it do?
Well, it provides a shortcode (wr_reviews), which will display a carrousel of the latest reviews for any plugin help in the WordPress Repository. Here is a review of BuddyPress First Letter Avatar, for example:
As you can see, it allows for a nice carousel of reviews, which will help future users make wise choices of the plugin they wish to use.
The shortcode has a number of options, as follows:
‘plugin_slug‘ – the slug of the plugin to be reviewed
‘rating‘ – you can choose the star rating of the reviews, default is ‘all’
‘limit‘ – the maximum number of reviews, default is 10
‘sortby‘ – the column the results are sorted by, default is ‘date’
‘sort‘ – you can choose the order of the reviews, the default is ‘DESC’
‘truncate‘ – this will keep the review text within the parameter set here, default is ‘300’ characters
‘gravatar_size‘ – sets the pixel size of the group gravatar, default is ’80’
‘container‘ – this allows for the type of container that holds the HTML for the review to be changed, default is ‘div’
‘container_id‘ – allows the id for the container to be set
‘container_class‘ – allows the class of the container to be set
‘link_all‘ – this option chooses to add a link to see all the reviews for the plugin, default is ‘no’
‘link_add‘ – this option chooses to add a link to add a new review for the plugin, default is ‘no’
‘layout‘ – this selects the output type. The default is ‘grid’, ‘carousel’ is also supported
‘exclude‘ – to exclude specific reviews, not recommended as it may have large performance issues, depending on the number of reviews the plugin has.
0 Comments