Hi,
Can anyone tell me what file i need to add target="_blank" to so that my social media links open in a new window.
Also, the Twitter comment on the Station Pro home page too please.
Thank you,
James.
Open Social Media links in New Window
Started by
jscurr
, Apr 06 2010 09:20 PM
5 replies to this topic
#1
Posted 06 April 2010 - 09:20 PM
#2
Posted 06 April 2010 - 11:34 PM
I have found that i need to make the change in the _iconlinks.php file, but i am having trouble finding it.
Another thread suggested the StationPro/Library folder, but there is no such file there for me.
#3
Posted 07 April 2010 - 12:49 AM
For the twitter messages you can edit _twittermessages.php
For the social icons you can edit them in the header.php
#4
Posted 07 April 2010 - 04:05 AM
Thanks Adam, i have the social icons sorted out, but am having trouble with where to add target="_blank" in twittermessages.php
#5
Posted 07 April 2010 - 03:53 PM
Use this code:
<?php if(function_exists('twitter_messages') && pagelines('twittername')):?>
<div class="twitter">
"<?php twitter_messages(pagelines('twittername'), 1, false, false, '', false, false, false); ?>" ??”
</div>
<?php endif;?>
See where I added it?
#6
Posted 08 April 2010 - 06:04 AM
Got it, thank you.










