Support Forum
Wanting to add rel="nofollow" to my profiles social links, Facebook Twitter etc? Toggling nofollow on for the whole forum has no effect on user social links.
Using reboot and reboot child theme. Poked around in the theme files but did not see a place to add it.
Thanks 🙂
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
you can do it for each identity separately... for facebook, for exmaple, here is the function and its defaults:
function sp_PostIndexUserFacebook($args='', $toolTip='') { $defs = array('tagId' => 'spPostIndexUserFacebook%ID%', 'tagClass' => 'spPostUserFacebook', 'icon' => 'sp_Facebook.png', 'iconClass' => 'spImg', 'targetNew' => 1, 'noFollow' => 0, 'echo' => 1, 'get' => 0, );
so you would just pass the 'noFollow' argument as 1... so from reboot theme, change
sp_PostIndexUserFacebook('', __sp('Connect with me on Facebook'));
to
sp_PostIndexUserFacebook('noFollow=1', __sp('Connect with me on Facebook'));
and similarly for other identities...
Visit Cruise Talk Central and Mr Papa's World
Thanks Steve, easy enough.
I did notice the mobile sptopicviewmobile.php is different than the desktop version. Does it inherit the nofollow status from the desktop file?
Also can i copy the modified file to my child theme?
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.