open in a new tab
-
It’s about:
https://www.portalultautv.ro/Under the “logo” are social buttons (facebook,twitter,google+,etc).When i click the social icon i wanna open the social page on a new tab.
the header code is:
<div id="social-icons-top" class="col-md-12"> <?php if ( of_get_option('facebook', true) != "") { ?> <a>" title="Facebook" ><img src="<?php echo get_template_directory_uri()."/images/social/facebook.png"; ?>"></a> <?php } ?> <?php if ( of_get_option('twitter', true) != "") { ?> <a>" title="Twitter" ><img src="<?php echo get_template_directory_uri()."/images/social/twitter.png"; ?>"></a> <?php } ?> <?php if ( of_get_option('google', true) != "") { ?> <a>" title="Google Plus" ><img src="<?php echo get_template_directory_uri()."/images/social/google.png"; ?>"></a> <?php } ?> <?php if ( of_get_option('feedburner', true) != "") { ?> <a>" title="RSS Feeds" ><img src="<?php echo get_template_directory_uri()."/images/social/rss.png"; ?>"></a> <?php } ?> <?php if ( of_get_option('pinterest', true) != "") { ?> <a>" title="Pinterest" ><img src="<?php echo get_template_directory_uri()."/images/social/pinterest.png"; ?>"></a> <?php } ?> <?php if ( of_get_option('instagram', true) != "") { ?> <a>" title="Instagram" ><img src="<?php echo get_template_directory_uri()."/images/social/instagram.png"; ?>"></a> <?php } ?> <?php if ( of_get_option('linkedin', true) != "") { ?> <a>" title="LinkedIn" ><img src="<?php echo get_template_directory_uri()."/images/social/linkedin.png"; ?>"></a> <?php } ?> <?php if ( of_get_option('youtube', true) != "") { ?> <a>" title="YouTube" ><img src="<?php echo get_template_directory_uri()."/images/social/youtube.png"; ?>"></a> <?php } ?> </div>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘open in a new tab’ is closed to new replies.