The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Misc bugs on wpdrat...
 
Share:
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!

Merry Christmas and Happy Holidays! πŸŽ„

[Solved] Misc bugs on wpdrating shortcode

8 Posts
3 Users
0 Reactions
1,604 Views
nrichard
Posts: 14
Topic starter
(@nrichard)
Eminent Member
Joined: 3 years ago

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 πŸ™‚


7 Replies
nrichard
Posts: 14
Topic starter
(@nrichard)
Eminent Member
Joined: 3 years ago

Some HTML was stripped in my message, on bug 2- I meant that ratingCount is always 1.


2 Replies
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8205

@nrichard,

1- itemprop=false does not work, but itemprop=0 does

Please use the 0 as a value of the itemprop attribute.Β 

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Β 😉

We don't follow you well. Please clarify a bit.Β 

3- Last, I use 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).

wpDiscuz rating shortcode doesn't work on WooCommerce product pages.Β 


nrichard
(@nrichard)
Joined: 3 years ago

Eminent Member
Posts: 14

Please use the 0 as a value of the itemprop attribute.Β 

Then maybe you should consider updating your FAQ:
https://wpdiscuz.com/community/f-a-q/wpdiscuz-shortcode-2/

We don't follow you well. Please clarify a bit.

Sorry, some HTML was stripped in my message. Here we go again:

2- With metakey="all", in Schema aggregate rating, I get always ratingCount as 1 (even when there are several ratings)
Note that I have one rating field only, so an easy workaround is using its metakeyΒ 😉

wpDiscuz rating shortcode doesn't work on WooCommerce product pages.Β 

At least it is clear 😉

I'll go with a workaround...


Posts: 17
(@legendsof)
Eminent Member
Joined: 1 year ago

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"]
Β 
Does anyone see an issue with this? I can use other shortcodes, just not WPDiscuz shortcodes...
Β 

Posts: 17
(@legendsof)
Eminent Member
Joined: 1 year ago

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.


1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8205

@legendsofΒ 

Please open your own support topic and leave some example URL to allow us to checkΒ  the issue.Β 


Posts: 17
(@legendsof)
Eminent Member
Joined: 1 year ago

Also tried:

<?php echo do_shortcode('[wpdrating metakey="all" show-label=false itemprop=0 postid="3614"]'); ?>

OK will open a support case.


Share: