WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How to add front end sorting option

[Resolved] How to add front end sorting option

  • Blindacme
    Member

    @blindacme

    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/

Viewing 1 replies (of 1 total)
  • Plugin Author awpcp
    Participant

    @awpcp

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to add front end sorting option’ is closed to new replies.