rayfox62 Posted March 31, 2010 Posted March 31, 2010 Hi, I have put a facebook fan button logo and twitter follow me button logo on my site. I need to know what I have to change in the html so that they do not appear on ssl pages on my site, any help would be very much welcome. This is copy of html text: <tr> <td> <!-- Facebook Badge START --><a target="_blank" href="http://www.facebook.com/pages/smileychopscouk/302783927721" title="smileychops.co.uk" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;">Become a fan and</a><br/><a target="_blank" href="http://www.facebook.com/pages/smileychopscouk/302783927721" title="smileychops.co.uk" target="_TOP"><img src="http://badge.facebook.com/badge/302783927721.4718.1405945614.png" width="120" height="146" style="border: 0px;" /></a><br/><a href="http://www.facebook.com/business/dashboard/" title="Make your own badge!" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;"> Follow us on Facebook</a><!-- Facebook Badge END --> </td> </tr> <tr> <td> <a target="_blank" href="http://www.twitter.com/smileychopsuk"><img src="http://twitter-badges.s3.amazonaws.com/follow_bird-a.png" alt="Follow smileychopsuk on Twitter"/></a> </td> </tr>
germ Posted March 31, 2010 Posted March 31, 2010 <?php if ( $request_type == 'NONSSL' ) { ?> ******** DELETE THIS LINE AND PUT THE CODE YOU POSTED HERE ******** <?php } ?> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
rayfox62 Posted March 31, 2010 Author Posted March 31, 2010 <?php if ( $request_type == 'NONSSL' ) { ?> ******** DELETE THIS LINE AND PUT THE CODE YOU POSTED HERE ******** <?php } ?> Thanks once again Jim, you fixed another one of my problems. Ray.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.