Permalink
Browse files

Fix target="_blank" social links error

  • Loading branch information...
AlxMedia committed Mar 23, 2016
1 parent 264a70f commit 6862cf4ddc70cd3606ee13e07d09d0dc450c6cad
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions.php
View
@@ -301,7 +301,7 @@ function alx_social_links() {
if ( isset($item['social-link']) && !empty($item['social-link']) )
{ $link = 'href="' .esc_attr( $item['social-link'] ). '"'; } else $link = '';
if ( isset($item['social-target']) && !empty($item['social-target']) )
{ $target = 'target="' .$item['social-target']. '"'; } else $target = '';
{ $target = 'target="_blank"'; } else $target = '';
if ( isset($item['social-icon']) && !empty($item['social-icon']) )
{ $icon = 'class="fa ' .esc_attr( $item['social-icon'] ). '"'; } else $icon = '';
if ( isset($item['social-color']) && !empty($item['social-color']) )

0 comments on commit 6862cf4

Please sign in to comment.