The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Let user sort posts...
 
Share:
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!

Merry Christmas and Happy Holidays! πŸŽ„

Question Let user sort posts based on rating

3 Posts
2 Users
0 Reactions
715 Views
Posts: 1
 Ping
Topic starter
(@ping)
New Member
Joined: 1 year ago

Hello, I found this bit of code that makes a dropdown box, letting the users sort posts based on date or title. what I need is to let my users sort posts based on wpdiscuz ratings or date. what parameter should I add to the code instead of title? thanks!

<form action="" method="get">
<select name="sort" id="sorting">
  <option value="title" <?php if ($sort == "title"){ echo 'selected="selected"'; } ?> >Sort by title</option>
  <option value="date" <?php if ($sort == "date"){ echo 'selected="selected"'; }?> >Sort by publication date</option>
</select>
<input type="submit" value="Submit" /></form>

2 Replies
Asti
Posts: 8204
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

I'll ask the developers and get back to you soon.Β 


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8204

We're really sorry, but there is not an easy solution we can post here.Β 

Currently, we have paid plugin customization and custom addon development services at the gVectors Team. They can assess the work and create it for you. Just contact us via sales[at]gvectors.com email address and send a list of requirements you'd like to have.


Reply
Share: