Pi Zi
Forum Replies Created
-
The technical explanation of the problem is that it occurs when tags are used within an attribute (like title). I don’t know a good way to solve that problem.
A workaround in your case, could be adding this code to the
functions.phpfile of your active theme:add_action( 'wpel_before_apply_link', function ( $link ) { $easy_footnote_url = '#easy-footnote'; // ignore easy footnote links if ( false !== strpos( $link->get_attr( 'href' ), $easy_footnote_url ) ) { $link->set_ignore(); } }, 10, 1 );OK I copied and reproduced the error. Thanks.
Forum: Plugins
In reply to: [External Links - nofollow, noopener & new window] Adsense AdsThe real problem remains unclear to me, but I’m glad you have solved the problem.
I cannot tell. Need to see the problem myself.
Could you deactivate the WPEL plugin so I could see the original link? (before being processed)
As a workaround you could use the filter
wpel_before_apply_linkto add “no-icon” class dynamically for those links, like:add_action( 'wpel_before_apply_link', function ( $link ) { $affiliate_url = 'http://URL/out/'; // check if link is an affiliate link if ( false !== strpos( $link->get_attr( 'href' ), $affiliate_url ) ) { // add no-icon class $link->add_attr_value( 'class', 'wpel-no-icon' ); } }, 10, 1 );(I haven’t tested the code)
“technical info” under the tab “support” of the plugins admin page.
Probably another plugin or some javascript is also adding behavior to your links or the image ads, which conflicts with this plugin settings.
Forum: Plugins
In reply to: [External Links - nofollow, noopener & new window] WP external linkI need to check the URL myself to see if it contains the nofollow tag.
Add the class “wpel-no-icon” to those links.
Yes
Forum: Plugins
In reply to: [External Links - nofollow, noopener & new window] Adsense AdsOK, I think we have some misunderstanding because of the translation.
How are you forced to restore the site? You click on the “uninstall” link and what do you see?
Need more info, can you send me the “technical info” (under the tab “support” of the plugins admin page).
You can send it using this contactform.Are the search results returned by an AJAX call?
True, the option “Include external links by URL:” can be used for internal redirects to external sites.
It’s better to define those links more explicit, sohttp://URL/out/instead of/out.