0 ) { $used = $user; } elseif ( count( $global ) > 0 ) { $used = $global; } // Only the content should show the user's socials however. if ( ! in_the_loop() ) { $used = $global; } // Set the target attribute for social icons. $target = ''; if ( get_theme_mod( 'social_target', 1 ) == 1 ) { $target = 'target="_blank"'; } if ( ( in_the_loop() && count( $used ) > 0 ) || ( ! in_the_loop() && ( count( $used ) > 0 || $has_rss ) ) ) { ?>