• Resolved cnlselectronics

    (@cnlselectronics)


    Hello, we are using a search but the order is not alphabetical. I have tried to add shortcode of order_by=title and order=asc but it doesnt change. This order shown is also not the order on the directory categories so it appears to be random. The shortcode in use is:

    [webdirectory-search custom_home=1 order=asc order_by=”title” search_overlay=0? search_bg_opacity=”100″ search_bg_color=”#c30101″ categories=1 location=0]

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

    (@mihail-chepovskiy)

    Sorry, we do not provide support on the free plugin version. You can buy PRO plugin by the link https://store.payproglobal.com/checkout?products%5B1%5D%5Bid%5D=75383

    Thread Starter cnlselectronics

    (@cnlselectronics)

    Okay…. well for anyone else having the same issue. You can edit the php file in W2DC>Classes>Shortcodes>search_controller.php.

    Line 25 (exact categories). Change from ‘exact_categories’?=>array(), to:

    ‘exact_categories’?=> ‘1, 2, 3, 4, 5, 6’,

    Numbers being your category IDs ??

    now save it, then refresh Directory Categories page and drag your options around ??

    Plugin Author Shamalli

    (@mihail-chepovskiy)

    Please be sure this will break the plugin functionality. Not recommended.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sorting Search’ is closed to new replies.