WordPress.org

Forums

Another WordPress Classifieds Plugin
[resolved] How to add front end sorting option (2 posts)

  1. Blindacme
    Member
    Posted 1 year ago #

    Thank you for the great plugin! I am trying to add some extra functionality to the front end for users to sort classifieds by things like price (high to low) and price (low to high) as well as rating.

    I just need a little guidance on how to start this, could you tell me the best way to start this? Is there some sort of parameter being added to the url that will allow for this or while I need to write a custom query for it?

    Any help you could give would be much appreciated.

    https://wordpress.org/plugins/another-wordpress-classifieds-plugin/

  2. awpcp
    Member
    Plugin Author

    Posted 1 year ago #

    HI Blindacme,

    We have some sorting options on the back end that say how the ads are ordered, but it's not exposed on the front end. I would suggest browsing the code and finding that setting in the back end and where it gets used. From there, you can probably add some code to expose that more in the front.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Another WordPress Classifieds Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags