- January 27, 2017 at 12:51 am #11741
I’ve just bought the Ajax search plugin and am looking to incorporate it with the links library at the URL above (homeopathyeurope.org/links) – are you able to advise if this is possible, or the easiest way to replicate the links themselves so they can be displayed with the search tool?
ThanksJanuary 27, 2017 at 11:23 am #11744
I’ve looked up the plugin you are using, and it is possible – as it cleverly uses custom post types to store links.
Use the following configuration:
1. On the General Options -> Sources panel, select the bms_link custom post type: https://i.imgur.com/ZWfd2Ng.png
2. On the same panel, choose the _bms_link_description and _bms_link_url custom fields to search as well: https://i.imgur.com/qPqMY7H.png
3. To fix the result URLs, add this custom code to the functions.php file in your active theme directory:
With this configuration I was able to get link results from the library with the correct URL. I hope this helps!Best,
If you like my products, don't forget to rate them on codecanyon :)
January 27, 2017 at 2:50 pm #11745
Thanks for the reply – very helpful.
I don’t seem to be able to have the option to select _bms_link_description_ and _bms_link_url. Do you know why this could be?
Sorry for any inconvenience.
ChrisJanuary 27, 2017 at 3:03 pm #11746
You must be logged in to reply to this topic.