Rating Form uses the current post ID for voting, you can see it as a parent. There are few parents that can be used like the post_id:
|post types (like: post, page or custom post type)||post_id (auto gets current ID)|
|comment||comment_id (auto gets current ID)|
|categories or taxonomies||term_id (needs to be defined)|
These parents can be separated as in multiple forms through shortcode attribute custom_id.
All the post types are stored in the same place, in the wp_posts database table, meaning the post id that is being used in Rating Form is unique. More information about post types.
Woocommerce, bbPress or any other plugin that uses a (custom) post type should work without any problem 🙂
List of available and useful:
Do you need further help or have a question? Contact me through support page on CodeCanyon.
There are two ways to install a plugin. Through WordPress Dashboard or FTP.
- Download the following file named rating-form.zip from CodeCanyon
- Navigate to Plugins > Add New
- Click on Upload Plugin at the top of the page
- Select file rating-form.zip
- Click Install Now
- Activate plugin after installation or on page Plugins
- Download and unpack ZIP file named rating-form.zip from CodeCanyon
- Open FTP and navigate to /wp-content/plugins/
- Upload directory named rating-form
- Activate plugin on page Plugins
When a new update comes out, make sure you read the changelog on the bottom of the plugin’s page at codecanyon. If you decide to update the safest way is to update through FTP.
- Open FTP and navigate to /wp-content/plugins/rating-form/
- Overwrite the plugin files with the ones that you re-downloaded from codecanyon.
This will not remove any data of Rating Form! Unless you delete this plugin through Dashboard.
Rating Form is compatible with myCRED 1.6.8 or above.
Click here for step by step explanation on myCRED.
How to use a Rating Form inside bbPress Replies?
You just need to insert the rating form shortcode after or before a reply content, Rating Form will detect automatically the current comment id.
return $content . do_shortcode('[rating_form id="1"]');
If you are getting the same rating result on all replies. You can try to use a function of bbPress that gets the current reply ID. Adjust the shortcode as followed:
[rating_form id="1" post_id="' . bbp_get_reply_id() . '"]
Now we are telling this Rating Form with id 1 that the parent (post) ID is the current reply ID.
Because reply is a (custom) post type which is stored in the same place as any other post types (like post), so we are voting a unique post ID.
A recent version of WPML (or above) is recommended and the String Translation add-on.
What is translatable?
You can translate strings: menu, pages, titles, widget and custom form messages in Rating Form, expect the plugin name 🙂
In order to translate messages: success, rated, login, limit and edit rating. You will need to enable option "WPML Translate" in block "Extra's". This option is added because to avoid unwanted string translations of custom messages on new created rating forms.
How can I know if a title, custom message or shortcode attributes are already translated?
Translated titles and custom messages are shown with a flag and a string of the current language (default is English).
Preview (custom message):
Or you can go to page of WPML > String Translation.
Shortcode attributes: after_content and before_content
Same behaviour as above, option "WPML Translate" needs to enabled to translated shortcode attributes: after_content and before_content.