Notifications
Clear all

[Solved] Sorting posts by STARS

4 Posts
2 Users
1 Likes
1,245 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: 6 years ago
Posts: 5874
 

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: 6 years ago
Posts: 5874
 

@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