The Ranking Table add-on allow you to display sort-able items in a table via a simple shortcode, which gives your website visitors an easy way to find the best recommendations for their needs. Items can be sorted by rank, rating and price.
Note: You can have only one table per page, so use shortcode once per page.
Ranking Table Shortcode
Use shortcode :
[wprs-table cpt="post"]
Example 2, adding shortcode parameters:
[wprs-table cpt="post" cat=1 num=10 type="user" rank="no" title="My awesome product" images="no" summary="no" price="no" rating="no" action="no"]
More parameters
- num =”10″, number of posts, default = 10
- order = “meta_value_num”, order, default = meta_value_num (rating, rank)
- cpt = “post”, custom post type
- type = “rating”, review type, example: (rating, percentage, votes, aggregate)
- cat = “”, categories
- tag = “”, tags
- parent = false, id or parent page, to display child pages
- taxonomy = false, taxonomy name
- tax_term = false, taxonomy terms “term1, term2”
- rank = “”, enable/disable rank
- images = “”, enable/disable images
- header_rank = “Rank”, edit table header, default = Rank
- header_image = “Photo”, edit table header, default = Photo
- header_sumary = “Summary, edit table header, default = Summary
- header_price = “Price”, edit table header, default = Price
- header_rating = “Rating”, edit table header, default = Rating
- header_action = “Action”, edit table header, default = Action
- summary = “”, enable/disable summary
- read_review = “Read Review”, edit read review anchor, default: Read Review
- price = “”, enable/disable price
- rating = “”, enable/disable rating
- action = “”, enable/disable call to action
- action_text = “Visit Site”, edit button anchor text
- min = “”, set minimum user reviews (for user aggregate reviews)
Settings Page
The Ranking Table settings page give you control over some site-wide settings for tables generated via the add-on shortcode.
View the ranking table in action.
- Readers Rating
- Rated 3.9 stars
3.9 / 5 (Reviewers) - Excellent
- Your Rating