Conversation
supportHello, 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]
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
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 🙂 This reply was modified 2 years, 5 months ago by cnlselectronics .
Please be sure this will break the plugin functionality. Not recommended.
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
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 🙂 This reply was modified 2 years, 5 months ago by cnlselectronics .
Please be sure this will break the plugin functionality. Not recommended.