Hello,
I am using [wpdrating] shortcode as documented here and have a few issues...
1- itemprop=false does not work, but itemprop=0 does
2- With metakey="all", in Schema aggregate rating, I getalways (even when there are several ratings)
Note that I have one rating field only, so an easy workaround is using its metakey 😉
3- Last, I use [wpdrating] on WooCommerce product page to show the rating of another post (with a different post type, actually I am showing merchand rating on product page).
To do so, I use the postid parameter. This does not work, shortcode returns nothing.
Note that I successfuly used postid parameter in other situations...
Let me know if more details are needed to investigate 🙂
Some HTML was stripped in my message, on bug 2- I meant that ratingCount is always 1.
I am also having problems getting the shortcode to work. I am trying to use on standard post pages.
This is what I am trying to do:
[wpdrating metakey="all" show-label=false itemprop=0 id="3614"]
And I am doing the following to execute it in my PHP file:
<?php echo do_shortcode('[wpdrating metakey="all" show-label=false itemprop=0 id="3614"]'); ?>
But it is not working. With other shortcodes works fine.
Also tried:
<?php echo do_shortcode('[wpdrating metakey="all" show-label=false itemprop=0 postid="3614"]'); ?>
OK will open a support case.