Notifications
Clear all

Ratings Won't Display

13 Posts
2 Users
0 Likes
4,122 Views
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  

Hopefully 3rd times a charm. This is the 3rd time I try and get this module integrated with my site over the past year. So far all seems to work well and I am pleased. But for some reason the ratings are not displaying. I've tried the before and after options as well as the shortcode [wpdrating] and it simply will not display. I've purged my cache, my CDN and my browsers cache and tried and 3 different devices as well. I'm sure it's something simple. Anybody have suggestions?

www.hotrodsrecipes.com


   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4168
 

Hi chef.rodney,

Please leave some URL to allow us check it. The website address doesn't work for us. It displays "Corrupted Content Error" on browser.


   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  
Posted by: Tom

Hi chef.rodney,

Please leave some URL to allow us check it. The website address doesn't work for us. It displays "Corrupted Content Error" on browser.

That is odd? Site comes up fine here and I tried different devices and browsers?


   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  

I got it to work. Appears because of a previous install, the meta key field for ratings needed to be not used. Anyways, seems to work. Now can someone tell me how to edit how the [wpdrating] output? Like font and text, etc.?


   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  

Not sure if this is a bug. Using the [wpdrating] shortcode, the information displays on 2 lines. 

shortcode

   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4168
 

Please leave website URL, this is a CSS conflict.


   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  
Posted by: Tom

Please leave website URL, this is a CSS conflict.

https://www.hotrodsrecipes.com/recipe/black-forest-cheesecake/


   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  

BTW, I would like to add that I love your plugin. I plan on purchasing a couple of your premium addons once I can get this figured out. Since my site is for recipes, this rating display is critical for me. I do know a bit of CSS so if I need to manually add code to display the rating I am all for it! Thanks.


   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4168
 

Thank you chef.rodney,

Please navigate to Dashboard > Comments > Settings > Styling admin page, put this CSS code in Custom CSS Code textarea, then delete all caches and do Ctrl+F5 on front-end.

.wpdiscuz-post-rating-wrap.wpd-custom-field > [class^="wpdiscuz-post-rating-wrap-custom_field"] {
    flex-basis: 50%;
    margin-bottom: 10px;
}

   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  
Posted by: Tom

Thank you chef.rodney,

Please navigate to Dashboard > Comments > Settings > Styling admin page, put this CSS code in Custom CSS Code textarea, then delete all caches and do Ctrl+F5 on front-end.

.wpdiscuz-post-rating-wrap.wpd-custom-field > [class^="wpdiscuz-post-rating-wrap-custom_field"] {
    flex-basis: 50%;
    margin-bottom: 10px;
}

Thanks. Is it supposed to display on 2 lines? Is there a way to have it all the same line? Also, would I need to do some custom code to have it display something like ***** (5 votes) or something similar? I don't have issues tweaking the code if you can point me in the right direction. Thanks again!


   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4168
 

Try this CSS code, don't forget delete all caches:

.wpdiscuz-post-rating-wrap.wpd-custom-field>[class^="wpdiscuz-post-rating-wrap-custom_field"]{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 30px;
}
.wpdiscuz-stars-label{
    padding: 0;
    margin-right: 20px;
}
.wpdiscuz-stars-wrapper-inner{
    position: relative;
}

   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  

Thank you. I just accidentally delete the rating custom field from my form. I re-added it but I think it overwrote all the ratings. Am I totally screwed?


   
ReplyQuote
(@chef-rodney)
Active Member
Joined: 7 years ago
Posts: 11
Topic starter  

I fixed my issue by retrieving the meta key from the database and updating my form. Thanks!


   
ReplyQuote
Share:
Scroll to top