Support » Theme: GamePress » FYI: Social Widgets to Open in New Window

  • Resolved PB4L

    (@pb4l)


    To do this: Edit the social-widget.php file in gamepress/admin/widgets/

    Add target="_blank" to each one you want to open in a new window. I added to all.

    <div class="sidebar-social">
    				<?php if($rss) { ?><a>" title="<?php _e('Subscribe to RSS feed','gamepress') ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/rss.png" alt="Subskrybuj RSS" /></a><?php } ?>
    				<?php if($facebook) { ?><a>" title="<?php _e('Follow me on Facebook','gamepress') ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/facebook.png" alt="Facebook" /></a><?php } ?>
    				<?php if($twitter) { ?><a>" title="<?php _e('Follow me on Twitter','gamepress') ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/twitter.png" alt="Twitter" /></a><?php } ?>
    				<?php if($youtube) { ?><a>" title="<?php _e('Follow me on YouTube','gamepress') ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/youtube.png" alt="YouTube" /></a><?php } ?>
    				<?php if($flickr) { ?><a>" title="<?php _e('Follow me on Flickr','gamepress') ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/flickr.png" alt="Flickr" /></a><?php } ?>
    		    </div>
Viewing 1 replies (of 1 total)
  • Also changed:

    Adres profliu na Flickr

    To:

    <?php _e(‘URL address of your Flickr profile page’,’gamepress’) ?>

Viewing 1 replies (of 1 total)
  • The topic ‘FYI: Social Widgets to Open in New Window’ is closed to new replies.