The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Question Let user sort posts based on rating
How-to and Troubleshooting
(@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>
(@asti)
Illustrious Member
Joined: 8 years ago
I'll ask the developers and get back to you soon.Â
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8188
Aug 07, 2024 9:51 am
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.