Is there a kind of shortcode that could output rating from specific page to any place? For example, I want to output rating from page Id 5555 in another page.
Please add the post_id
attribute in the shortcode (for each post it’s own post_id) and check it.
Your shortcode should look like this:
[wpdrating metakey="all" show-lable=true show-count=true show-average=true itemprop=true post_id="CURRENT_POST_ID"]
For example for the post with post_id= 5555 you should use the following shortcode:
[wpdrating metakey="all" show-lable=true show-count=true show-average=true itemprop=true post_id="5555"]
Please add the
post_id
attribute in the shortcode (for each post it’s own post_id) and check it.Your shortcode should look like this:
[wpdrating metakey="all" show-lable=true show-count=true show-average=true itemprop=true post_id="CURRENT_POST_ID"]
For example for the post with post_id= 5555 you should use the following shortcode:
[wpdrating metakey="all" show-lable=true show-count=true show-average=true itemprop=true post_id="5555"]
Thanks! I think you should add it to the documentation. I read it yesterday and couldn't see any explanation about this.
I've found that shrotcode doesn't work if I use it in pages to which is applied by id a comment form without the rating.
This issue is already fixed in the new wpDiscuz 7 version.
You can download and check the new version here: https://beta.wpdiscuz.com/demo/