gruz0 / remove-noreferrer

This plugin removes rel="noreferrer" from WordPress posts, pages and comments
https://wordpress.org/plugins/remove-noreferrer/
2 stars 2 forks source link

WooCommerce products <p class="cart"> #89

Closed csg79 closed 2 years ago

csg79 commented 2 years ago

Hi, is it possible to remove the "noreferrer" in the

link within a woocommerce product page for external/affiliates products? The plugin works for everything else on my site, but not within the shop page. Thanks Ali

gruz0 commented 2 years ago

@csg79, hi!

Can you show me an example where plugin does not work?

csg79 commented 2 years ago

Hi,

I actually figured out that it was because I was using another plugin that opens the link in a new tab, so I disabled that plugin for now. Is there a way to open the link in a new tab and still remove noreferrer?

Thanks Ali


From: Alexander Kadyrov @.> Sent: Monday, January 17, 2022 22:06 To: gruz0/remove-noreferrer @.> Cc: csg79 @.>; Mention @.> Subject: Re: [gruz0/remove-noreferrer] WooCommerce products

(Issue #89)

@csg79https://github.com/csg79, hi!

Can you show me an example where plugin does not work?

— Reply to this email directly, view it on GitHubhttps://github.com/gruz0/remove-noreferrer/issues/89#issuecomment-1015097713, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXLEUQQKZJWLXDXWDQDCSSTUWT7MRANCNFSM5MGB6AVA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

gruz0 commented 2 years ago

You can modify your WooCommerce template to open links in the new page, I think. My plugin just removes noreferrer attribute from the links and does not modify something else.