Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Order by custom field: menu_order
This topic contains 6 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 11 months ago.
- AuthorPosts
- December 8, 2020 at 2:48 pm #30558
Hello,
We had your Lite plugin previously and just upgraded to the Pro version so we an order results by a custom field.
I’ve read your docs here:
https://documentation.ajaxsearchpro.com/general-settings/result-ordering#ordering-by-custom-fieldsWe want to order the results by the WooCommerce Menu order attribute. Ref here;
https://wordpress.stackexchange.com/questions/84943/get-current-menu-orderBut When I enter ‘menu_order’ in the box it does not work. Please can you tell me how to order by this field?
Also, less important, but changing the ‘search box background color’ makes no change to the main background colour – it remains as red, even the the preview window. Please log in and try on our site. I tried to set to white.
Thanks,
DarrenDecember 8, 2020 at 4:24 pm #30565Hi,
The menu_order is not a custom field, it is stored as a table column in the posts table. Try choosing the ordering by menu order option, that will use that column: https://i.imgur.com/mRkyUpy.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 8, 2020 at 4:26 pm #30566On some themes the input field may overlay the box background, try changing the input field background, to see if that changes it: https://i.imgur.com/Hxw9VwN.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 9, 2020 at 2:02 pm #30591Hi,
thaks the menu order suggestion worked great!
Still having issues with the theme tho. I had selected the option you suggested but the field is still red – please see: https://www.evernote.com/l/ARfdPRVkBTNOKYc6s8eqqtYw1Fw6QaJAHDs
December 9, 2020 at 2:17 pm #30595You are welcome.
You are looking at the wrong tab there, Theme & Styling -> Input field layout: https://i.imgur.com/TTj4D39.png
Best,
Also, the magnifier background may also be set to a the same color, in case it stays red: https://i.imgur.com/Oaum0pV.png
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 10, 2020 at 1:09 pm #30618Hi, thanks for that. Silly me – I was on the wrong tab 🙂
Ok styling is all sorted now – thanks!
All is looking good now 🙂
December 10, 2020 at 1:22 pm #30620You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.