Links

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11741
    CHRISC186
    CHRISC186
    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 Marcinko
    Ernest 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: 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,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11745
    CHRISC186
    CHRISC186
    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 Marcinko
    Ernest Marcinko
    Keymaster

    Hi Chris,

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

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.