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/