wrong link generated in isotopic filter

Home Forums Product Support Forums Ajax Search Pro for WordPress Support wrong link generated in isotopic filter

This topic contains 2 replies, has 2 voices, and was last updated by Cogora82 Cogora82 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36507
    Cogora82
    Cogora82
    Participant

    Hello,

    I’ve created a filter to search through a specific users role (speakers)
    I’ve also followed your instruction ( from documentation ) on ow to override the basic template, so I generated one that will match our website design.

    the proble is that despite the links in the results are the right one, when I click on them, they redirect to a void address instead of the one from the html generated.

    The page is here
    https://preview.pulse365.uk/speakers/

    and when the mouse is hover the “View profile” link, on the left bottom corner of the webpage I can clearly see the right url, but when clicked on the link the plugin is redirecting to
    https://preview.pulse365.uk/speakers/undefined

    Kind regards,
    Luigi

    #36509
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Luigi,

    It happens, because the clicks on those results are handled via javascript, and the plugin fetches the URL from the content.
    To resolve that, simply add the “asp_content” class name to one of the parent elements of the link item: https://i.imgur.com/ffmMkza.png
    The plugin will then fetch the correct URI.

    Best,
    Ernest Marcinko

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


    #36524
    Cogora82
    Cogora82
    Participant

    Thank you!

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

You must be logged in to reply to this topic.