WordPress.org

Ready to get started?Download WordPress

Forums

GamePress
[resolved] FYI: Social Widgets to Open in New Window (2 posts)

  1. PB4L
    Member
    Posted 1 year ago #

    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>
  2. PB4L
    Member
    Posted 1 year ago #

    Also changed:

    Adres profliu na Flickr

    To:

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.