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 = '_self'; if ( 1 === (int) get_theme_mod( 'social_target', 1 ) ) { $target = '_blank'; } if ( ( in_the_loop() && count( $used ) > 0 ) || ( ! in_the_loop() && ( count( $used ) > 0 || $has_rss ) ) ) { ?>