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 team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Question Let user sort posts based on rating

3 Posts
2 Users
0 Reactions
488 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: 8075
 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: 8075

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: