[Solved] Sorting posts by STARS  

  RSS

Soyler
(@soyler)
New Member
Joined: 1 month 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: 2 years ago
Posts: 3285
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: 1 month 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: 2 years ago
Posts: 3285
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:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: