Support » Plugin: AddToAny Share Buttons » External Dofollow Links:

  • sherazzahid



    I installed WP External link plugin and External link plugin in order to put the link ‘rel=nofollow’. I happy to remove the scoial media outbbound links but is still there. I followed an other post where somebody suggested to use the additional javascript code below but its still not changing the behaviour of dofollow link to no follow link. Can anyone please help to to solve this problem?

        ready: function() {
            var addtoany_link = document.querySelector('.a2a_full_footer > a');
            if (addtoany_link) {
                addtoany_link.rel = 'nofollow noopener';
Viewing 1 replies (of 1 total)
  • Plugin Author micropat


    Hi Sheraz,

    That code works. Be sure to use your browser’s developer tools to inspect the element to see the rel attributed updated to nofollow noopener.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.