Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi Saskia,

    Sorry that you ran into issues here!

    Right now, our sorting options are defined under Directory Admin->Manage Options, Listing tab. We plan to add support for sorting on any field (including on the UI side so users can choose to do that) but we’re not there today. We have some categories and fees revamp coming next in our next major release. We can consider it after that.

    Thread Starter Saskia Teichmann

    (@jyria)

    Hello there!

    Thanks for your reply!

    I saw the sorting option in mentioned options tab, however I do not want to offer any sorting options to the visitors. What I desire to do is, display the category listing content in a given order, sorted by zip in this case, as alphabetical order does not make any sense in my project’s context. There should not be any sort option be displayed in front end.

    If I could extend the category shortcode by an option like [WPBUSDIRMANMVIEWLISTINGS category=42 sortby=zip]
    whereas zip would be any tag/meta slug that had been defined in field options, that would be awesome!

    It would be awesome if you could point me into the right direction to get this solved ??

    thanks again for your reply

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi Saskia,

    If you want to tackle this on your own, we have a customization guide that gives you a map of the files in the plugin to do that work:

    https://businessdirectoryplugin.com/docs/customization-guide/

    Look for the category shortcode above in the source code, that’s probably where you want to start.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sort by Zip in Category view (using shortcode to display cat)’ is closed to new replies.