This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Links

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11741
    CHRISC186CHRISC186
    Participant

    Hi there

    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?

    Thanks

    #11744
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    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: http://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: http://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!

    #11745
    CHRISC186CHRISC186
    Participant

    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.

    Chris

    #11746
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Chris,

    Not sure why, but you can just turn on the Search all custom fields option instead: http://i.imgur.com/WxeZr0o.png
    It will work that way as well.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.