Notifications
Clear all

[Solved] Sorting posts by STARS

4 Posts
2 Users
1 Reactions
1,606 Views
(@soyler)
New Member
Joined: 5 years ago
Posts: 2
Topic starter  

Hi, I got my posts with WP_Query, after that I got stars for my posts by

echo do_shortcode( '[wpdrating post_id="'.$post_id.'" metakey="all"  show-lable  = false show-count = false show-average = true itemprop = true ]' );

so, it is okay. But I need to sort my posts by STARS. 5 stars - first, 4 stars - second, 3 stars - third ...

from bigger to smaller

P.S. I can rewrite your code if it is needed

please, help me !


   
Quote
Topic Tags
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6191
 

Hi  Soyler,

Thank you for using wpDiscuz and for contacting us. 

Please wait a bit. I'll ask the developers and back to you asap.


   
Soyler reacted
ReplyQuote
(@soyler)
New Member
Joined: 5 years ago
Posts: 2
Topic starter  

@astghik

Okey, I am waiting. How long it takes ?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6191
 

@soyler,

I've got a response from the developers. I'm really sorry but currently, this is not possible. We'll take into consideration for future updates. 


   
ReplyQuote
Share:
Scroll to top