Support » Plugin: Nofollow for external link » Nofollow plugin not working on modal button links

  • http://www.letsgo.com/destinations/europe/amsterdam/accommodations/

    If you look at one of the hostel modals by clicking on it (for example, Shelter City under the “Oude Zijd” section), the button we have that says “Book on hostelword.com” doesn’t contain a nofollow ref in the link when we inspect the element.

    I tried making some edits to the plugin code, like changing the text it searches for to not include the “<a” part of the link, and changing line 75 from if ($pos === false) { to if ($pos === false | $pos > 12) { because the button links contained our domain at the end of the url (and we thought this might be causing the link to be excluded), but neither of these worked.

    The buttons are made via code copied from the Avada theme.

    https://wordpress.org/plugins/nofollow-for-external-link/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nofollow plugin not working on modal button links’ is closed to new replies.