Hi I’m trying to add the rel=”noshare” attribute to the background image to stop it affecting the mobile view,
How can I add a rel=”noshare” attribute to the background image?
I’m guessing its js and that’s out of my depth any help would be gladly apreciated.
Thanks
Luke
Hello lukeback,
You should check the HTML code and add there this rel. For more information about this regard, please check here -> https://wphowto.net/how-to-add-nofollow-to-a-link-rel-attribute-in-wordpress-1929
Thanks for the message!
Hello,
Sorry but I’m not Caitlin. I’m Catalin :)) So, you should take a look at the whole theme code and search by no follow tag and you will see how and where this option is put. -> https://www.screencast.com/t/y6P5P5QTn
Thanks.
Hi,
Sorry for the autocorrect on your name, I hope I didn’t offend you.
I just want to make sure I’m explaining myself properly, the Sumo social share icons for some reason tries to attach itself to the background on mobile view and it allows you to zoom out, please see the image https://pasteboard.co/KmpM7899.jpg
So I contacted sumo and their response was to add rel=”noshare” after the scr=”url”
of the background, here is the code https://pasteboard.co/7tFNBw8H9.png.
So I’m a little confused that you’re suggesting to add Nofollow, but I followed what you said,
and the only location I could find was in \wp_booster\td_module_single_base.php do I need to change the nofollow to noshare?
Thanks for bearing with me and my lack of knowledge.
Luke
-
This reply was modified 9 years by
lukeback.
Hello lukeback,
Unfortunately, we have no idea about the implementation of this plugin and also, notice that is not a tested plugin, sorry! We cannot provide a more accurate response and solution in this case because we do not know this plugin, sorry! In order to achieve best results, you should read the plugin documentation and follow all the steps from there. As a hint, I found this topic which could be useful for you -> https://help.sumome.com/hc/en-us/articles/218489088-Disabling-Image-Sharer-on-specific-images
Thanks for the message!
Ok, I have to say this has been the worst experience with customer support I’ve ever had. On other themes and plugins the support has at least tried to help. I mean I’ve had better support from Sumo on this matter and that’s a free plugin.
-
This reply was modified 9 years by
lukeback.
Hello lukeback,
If you want to add this information to the backstretch image of your website, notice that you should edit the theme core file, like td_background_render.php core file and add there, after the src attribute the rel=”noshare” meta, like this -> https://www.screencast.com/t/L2Mxaaeh3 and the result can be seen here -> https://www.screencast.com/t/NJr7EViHd (if you want this).
I hope this helps!
Thanks for the message!