Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

[Solved] Sorting posts by STARS  

  RSS

Soyler
(@soyler)
New Member
Joined: 12 months ago
Posts: 2
20/08/2019 10:05 am  

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
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4321
20/08/2019 12:35 pm  

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 liked
ReplyQuote
Soyler
(@soyler)
New Member
Joined: 12 months ago
Posts: 2
20/08/2019 3:24 pm  

@astghik

Okey, I am waiting. How long it takes ?


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4321
20/08/2019 5:29 pm  

@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: