TikTok not showing although correct url set up in socials?

Hello,

Wondering why TikTok isn’t showing in social icons althought set up correct url.
Also wondering how to get Twitter -> X icon updated?

Thanks

Hello @Isabelle_808,

Thanks for writing to us.

I checked your site, and it seems that you have installed the child theme where you have overridden the social functions in your child theme code, but you have not called the TikTok icon and its value, which is why the TikTok value is not rendering. Please have a look at the screenshot below. I would suggest that you disable the child theme and then check again. Please note that we do not provide support for customized child themes; it is outside the support scope.

Thanks for understanding

Thank you for the reply, I understand and will try to add tiktok.
Created the additional code because X did not have Yelp as an default option.

How about the Twitter option to X? Doesn’t seem to be updated in default options.

Thanks

Thanks

Hey @Isabelle_808,

You seem to have removed the password. I cannot log in to your WP dashboard anymore. Anyways, you can either update the Twitter icon to the new X icon or just update the code in your child theme to the latest one:

// Social Output
// =============================================================================

if ( ! function_exists( 'x_social_global' ) ) :
  function x_social_global() {

    $facebook    = x_get_option( 'x_social_facebook' );
    $tiktok      = x_get_option( 'x_social_tiktok' );
    $x           = x_get_option( 'x_social_twitter' );
    $bluesky     = x_get_option( 'x_social_bluesky' );
    $linkedin    = x_get_option( 'x_social_linkedin' );
    $xing        = x_get_option( 'x_social_xing' );
    $foursquare  = x_get_option( 'x_social_foursquare' );
    $youtube     = x_get_option( 'x_social_youtube' );
    $vimeo       = x_get_option( 'x_social_vimeo' );
    $instagram   = x_get_option( 'x_social_instagram' );
    $pinterest   = x_get_option( 'x_social_pinterest' );
    $dribbble    = x_get_option( 'x_social_dribbble' );
    $flickr      = x_get_option( 'x_social_flickr' );
    $github      = x_get_option( 'x_social_github' );
    $behance     = x_get_option( 'x_social_behance' );
    $tumblr      = x_get_option( 'x_social_tumblr' );
    $whatsapp    = x_get_option( 'x_social_whatsapp' );
    $soundcloud  = x_get_option( 'x_social_soundcloud' );
    $rss         = x_get_option( 'x_social_rss' );

    $target_blank = x_output_target_blank( false );

    $output = '<div class="x-social-global">';

      $output = apply_filters( 'x_social_global_before', $output );

    $rss_icon = '';

    if ($rss) {
      $rss_icon = x_get_option("x_font_awesome_icon_type") === "svg"
        ? x_icon_get_brand("f143", "x-icon-rss-square")
        : x_icon_get("f143", "x-icon-rss-square");
    }

      if ( $facebook )    : $output .= '<a href="' . $facebook    . '" class="facebook" title="Facebook" ' . $target_blank . '>' . x_icon_get_brand("f082", "x-icon-facebook-square") . '<span class="visually-hidden">Facebook</span></a>'; endif;
      if ( $x )           : $output .= '<a href="' . $x           . '" class="x twitter" title="X" ' . $target_blank . '>' . x_icon_get_brand("e61a", "x-icon-x-square") . '<span class="visually-hidden">X</span></a>'; endif;
      if ( $bluesky )     : $output .= '<a href="' . $bluesky     . '" class="bluesky" title="Bluesky" ' . $target_blank . '>' . x_icon_get_brand("e6a3", "x-icon-bluesky-square") . '<span class="visually-hidden">Bluesky</span></a>'; endif;
      if ( $tiktok )      : $output .= '<a href="' . $tiktok      . '" class="tiktok" title="Tiktok" ' . $target_blank . '>' . x_icon_get_brand("e07b", "x-icon-tiktok-square") . '<span class="visually-hidden">Tiktok</span></a>'; endif;
      if ( $linkedin )    : $output .= '<a href="' . $linkedin    . '" class="linkedin" title="LinkedIn" ' . $target_blank . '>' . x_icon_get_brand("f08c", "x-icon-linkedin-square") . '<span class="visually-hidden">LinkedIn</span></a>'; endif;
      if ( $xing )        : $output .= '<a href="' . $xing        . '" class="xing" title="XING" ' . $target_blank . '>' . x_icon_get_brand("f169", "x-icon-xing-square") . '<span class="visually-hidden">XING</span></a>'; endif;
      if ( $foursquare )  : $output .= '<a href="' . $foursquare  . '" class="foursquare" title="Foursquare" ' . $target_blank . '>' . x_icon_get_brand("f180", "x-icon-foursquare") . '<span class="visually-hidden">Foursquare</span></a>'; endif;
      if ( $youtube )     : $output .= '<a href="' . $youtube     . '" class="youtube" title="YouTube" ' . $target_blank . '>' . x_icon_get_brand("f431", "x-icon-youtube-square") . '<span class="visually-hidden">YouTube</span></a>'; endif;
      if ( $vimeo )       : $output .= '<a href="' . $vimeo       . '" class="vimeo" title="Vimeo" ' . $target_blank . '>' . x_icon_get_brand("f194", "x-icon-vimeo-square") . '<span class="visually-hidden">Vimeo</span></a>'; endif;
      if ( $instagram )   : $output .= '<a href="' . $instagram   . '" class="instagram" title="Instagram" ' . $target_blank . '>' . x_icon_get_brand("f16d", "x-icon-instagram") . '<span class="visually-hidden">Instagram</span></a>'; endif;
      if ( $pinterest )   : $output .= '<a href="' . $pinterest   . '" class="pinterest" title="Pinterest" ' . $target_blank . '>' . x_icon_get_brand("f0d3", "x-icon-pinterest-square") . '<span class="visually-hidden">Pinterest</span></a>'; endif;
      if ( $dribbble )    : $output .= '<a href="' . $dribbble    . '" class="dribbble" title="Dribbble" ' . $target_blank . '>' . x_icon_get_brand("f17d", "x-icon-dribbble") . '<span class="visually-hidden">Dribbble</span></a>'; endif;
      if ( $flickr )      : $output .= '<a href="' . $flickr      . '" class="flickr" title="Flickr" ' . $target_blank . '>' . x_icon_get_brand("f16e", "x-icon-flickr") . '<span class="visually-hidden">Flickr</span></a>'; endif;
      if ( $github )      : $output .= '<a href="' . $github      . '" class="github" title="GitHub" ' . $target_blank . '>' . x_icon_get_brand("f092", "x-icon-github-square") . '<span class="visually-hidden">GitHub</span></a>'; endif;
      if ( $behance )     : $output .= '<a href="' . $behance     . '" class="behance" title="Behance" ' . $target_blank . '>' . x_icon_get_brand("f1b5", "x-icon-behance-square") . '<span class="visually-hidden">Behance</span></a>'; endif;
      if ( $tumblr )      : $output .= '<a href="' . $tumblr      . '" class="tumblr" title="Tumblr" ' . $target_blank . '>' . x_icon_get_brand("f174", "x-icon-tumblr-square") . '<span class="visually-hidden">Tumblr</span></a>'; endif;
      if ( $whatsapp )    : $output .= '<a href="' . $whatsapp    . '" class="whatsapp" title="Whatsapp" ' . $target_blank . '>' . x_icon_get_brand("f232", "x-icon-whatsapp") . '<span class="visually-hidden">Whatsapp</span></a>'; endif;
      if ( $soundcloud )  : $output .= '<a href="' . $soundcloud  . '" class="soundcloud" title="SoundCloud" ' . $target_blank . '>' . x_icon_get_brand("f1be", "x-icon-soundcloud") . '<span class="visually-hidden">SoundCloud</span></a>'; endif;
      if ( $rss )         : $output .= '<a href="' . $rss         . '" class="rss" title="RSS" ' . $target_blank . '>' . $rss_icon . '<span class="visually-hidden">RSS</span></a>'; endif;

      $output = apply_filters( 'x_social_global_after', $output );

    $output .= '</div>';

    echo apply_filters( 'x_social_global', $output);

  }
endif;

Kindly let us know how it goes.