• Hello,

    I like this plugin, thank you, but the hyperlinks to matching pages are broken in the search results page.

    This can be fixed with two small changes. The first is for a typo (‘loaction’ -> ‘location’) in line 33, hence:

    '<a href="'+appStaticSearch.siteUrl + result.loaction + '" class="ss-image-link">';

    And the other issue is a ‘location’ property missing its ‘result’ object in l.39, which should be:

    ‘<h3>‘ + result.title + ‘</h3>’+

    (These issues also apply to the Github repository.)

    Then it seems to work as intended.

  • The topic ‘Fix for broken links in Search Results’ is closed to new replies.