<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Social Icons will not show. &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/social-icons-will-not-show/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/feed/</link>
		<description></description>
		<lastBuildDate>Thu, 25 Dec 2025 22:16:10 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-83687</guid>
					<title><![CDATA[Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-83687</link>
					<pubDate>Wed, 13 Aug 2014 13:15:05 +0000</pubDate>
					<dc:creator>Ben S</dc:creator>

					<description>
						<![CDATA[
						<p>I have added the following code to add a email icon next to my social icons in my topbar, but it makes all the social icons disappear besides the email icon. Can you help me get my social icons back. I do have the URLS entered in the customizer. The site is <a href="http://restoration.lastingimprovements.com/" rel="nofollow">http://restoration.lastingimprovements.com/</a></p>
<p>&lt;?php</p>
<p>// =============================================================================<br />
// FUNCTIONS.PHP<br />
// &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
// Overwrite or add your own custom functions to X in this file.<br />
// =============================================================================</p>
<p>if ( ! function_exists( &#8216;x_social_global&#8217; ) ) :<br />
   function x_social_global( $position = &#8216;topbar&#8217; ) {</p>
<p>    $facebook    = get_theme_mod( &#8216;x_social_facebook&#8217; );<br />
    $twitter     = get_theme_mod( &#8216;x_social_twitter&#8217; );<br />
    $google_plus = get_theme_mod( &#8216;x_social_googleplus&#8217; );<br />
    $linkedin    = get_theme_mod( &#8216;x_social_linkedin&#8217; );<br />
    $foursquare  = get_theme_mod( &#8216;x_social_foursquare&#8217; );<br />
    $youtube     = get_theme_mod( &#8216;x_social_youtube&#8217; );<br />
    $vimeo       = get_theme_mod( &#8216;x_social_vimeo&#8217; );<br />
    $instagram   = get_theme_mod( &#8216;x_social_instagram&#8217; );<br />
    $pinterest   = get_theme_mod( &#8216;x_social_pinterest&#8217; );<br />
    $dribbble    = get_theme_mod( &#8216;x_social_dribbble&#8217; );<br />
    $behance     = get_theme_mod( &#8216;x_social_behance&#8217; );<br />
    $rss         = get_theme_mod( &#8216;x_social_rss&#8217; );<br />
    $envelope    = get_theme_mod( &#8216;x_icon_envelope&#8217; );</p>
<p>    if ( $position == &#8216;topbar&#8217; ) {<br />
      $tooltip = &#8216;data-toggle=&#8221;tooltip&#8221; data-placement=&#8221;bottom&#8221; data-trigger=&#8221;hover&#8221;&#8216;;<br />
    } else {<br />
      $tooltip = &#8216;data-toggle=&#8221;tooltip&#8221; data-placement=&#8221;top&#8221; data-trigger=&#8221;hover&#8221;&#8216;;<br />
    }</p>
<p>    $output = &#8216;&lt;div class=&#8221;x-social-global&#8221;&gt;&#8217;;</p>
<p>	  if ( $facebook )    : $output .= &#8216;<a href="' . $facebook    . '" title="Facebook" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-facebook&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $twitter )     : $output .= &#8216;<a href="' . $twitter     . '" title="Twitter" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-twitter&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $google_plus ) : $output .= &#8216;<a href="' . $google_plus . '" title="Google+" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-google-plus&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $linkedin )    : $output .= &#8216;<a href="' . $linkedin    . '" title="LinkedIn" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-linkedin&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $foursquare )  : $output .= &#8216;<a href="' . $foursquare  . '" title="Foursquare" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-foursquare&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $youtube )     : $output .= &#8216;<a href="' . $youtube     . '" title="YouTube" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-youtube&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $vimeo )       : $output .= &#8216;<a href="' . $vimeo       . '" title="Vimeo" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-vimeo&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $instagram )   : $output .= &#8216;<a href="' . $instagram   . '" title="Instagram" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-instagram&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $pinterest )   : $output .= &#8216;<a href="' . $pinterest   . '" title="Pinterest" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-pinterest&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $dribbble )    : $output .= &#8216;<a href="' . $dribbble    . '" title="Dribbble" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-dribbble&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $behance )     : $output .= &#8216;<a href="' . $behance     . '" title="Behance" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-behance&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
      if ( $rss )         : $output .= &#8216;<a href="' . $rss         . '" title="RSS" target="_blank" rel="nofollow">&lt;i class=&#8221;x-social-rss&#8221;&gt;&lt;/i&gt;</a>&#8216;; endif;<br />
                            $output .= &#8216;<a href="mailto:bradley@lastingimprovements.com" title="Email" target="_blank" rel="nofollow">&lt;i class=&#8221;x-icon-envelope&#8221;style=&#8221;font-size:28px;&#8221;&gt;&lt;/i&gt;</a>&#8216;;</p>
<p>    $output .= &#8216;&lt;/div&gt;&#8217;;</p>
<p>    echo $output;</p>
<p>  }<br />
endif;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-83695</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-83695</link>
					<pubDate>Wed, 13 Aug 2014 13:35:09 +0000</pubDate>
					<dc:creator>Kosher K</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>The code structure for <code>x_social_global</code> function has been change since the last update, you can see it in <code>x/framework/functions/global/social.php</code></p>
<p>Please change your code to this</p>
<pre><code>
if ( ! function_exists( &#039;x_social_global&#039; ) ) :
  function x_social_global() {

    $facebook    = x_get_option( &#039;x_social_facebook&#039;, &#039;&#039; );
    $twitter     = x_get_option( &#039;x_social_twitter&#039;, &#039;&#039; );
    $google_plus = x_get_option( &#039;x_social_googleplus&#039;, &#039;&#039; );
    $linkedin    = x_get_option( &#039;x_social_linkedin&#039;, &#039;&#039; );
    $foursquare  = x_get_option( &#039;x_social_foursquare&#039;, &#039;&#039; );
    $youtube     = x_get_option( &#039;x_social_youtube&#039;, &#039;&#039; );
    $vimeo       = x_get_option( &#039;x_social_vimeo&#039;, &#039;&#039; );
    $instagram   = x_get_option( &#039;x_social_instagram&#039;, &#039;&#039; );
    $pinterest   = x_get_option( &#039;x_social_pinterest&#039;, &#039;&#039; );
    $dribbble    = x_get_option( &#039;x_social_dribbble&#039;, &#039;&#039; );
    $behance     = x_get_option( &#039;x_social_behance&#039;, &#039;&#039; );
    $tumblr      = x_get_option( &#039;x_social_tumblr&#039;, &#039;&#039; );
    $rss         = x_get_option( &#039;x_social_rss&#039;, &#039;&#039; );

    $output = &#039;&lt;div class=&quot;x-social-global&quot;&gt;&#039;;

      if ( $facebook )    : $output .= &#039;&lt;a href=&quot;&#039; . $facebook    . &#039;&quot; class=&quot;facebook&quot; title=&quot;Facebook&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-facebook&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $twitter )     : $output .= &#039;&lt;a href=&quot;&#039; . $twitter     . &#039;&quot; class=&quot;twitter&quot; title=&quot;Twitter&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-twitter&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $google_plus ) : $output .= &#039;&lt;a href=&quot;&#039; . $google_plus . &#039;&quot; class=&quot;google-plus&quot; title=&quot;Google+&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-google-plus&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $linkedin )    : $output .= &#039;&lt;a href=&quot;&#039; . $linkedin    . &#039;&quot; class=&quot;linkedin&quot; title=&quot;LinkedIn&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-linkedin&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $foursquare )  : $output .= &#039;&lt;a href=&quot;&#039; . $foursquare  . &#039;&quot; class=&quot;foursquare&quot; title=&quot;Foursquare&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-foursquare&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $youtube )     : $output .= &#039;&lt;a href=&quot;&#039; . $youtube     . &#039;&quot; class=&quot;youtube&quot; title=&quot;YouTube&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-youtube&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $vimeo )       : $output .= &#039;&lt;a href=&quot;&#039; . $vimeo       . &#039;&quot; class=&quot;vimeo&quot; title=&quot;Vimeo&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-vimeo&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $instagram )   : $output .= &#039;&lt;a href=&quot;&#039; . $instagram   . &#039;&quot; class=&quot;instagram&quot; title=&quot;Instagram&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-instagram&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $pinterest )   : $output .= &#039;&lt;a href=&quot;&#039; . $pinterest   . &#039;&quot; class=&quot;pinterest&quot; title=&quot;Pinterest&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-pinterest&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $dribbble )    : $output .= &#039;&lt;a href=&quot;&#039; . $dribbble    . &#039;&quot; class=&quot;dribbble&quot; title=&quot;Dribbble&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-dribbble&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $behance )     : $output .= &#039;&lt;a href=&quot;&#039; . $behance     . &#039;&quot; class=&quot;behance&quot; title=&quot;Behance&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-behance&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $tumblr )      : $output .= &#039;&lt;a href=&quot;&#039; . $tumblr      . &#039;&quot; class=&quot;tumblr&quot; title=&quot;Tumblr&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-tumblr&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $rss )         : $output .= &#039;&lt;a href=&quot;&#039; . $rss         . &#039;&quot; class=&quot;rss&quot; title=&quot;RSS&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-social-rss&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
		$output .= &#039;&lt;i class=&quot;x-icon-envelope&quot; style=&quot;font-size:28px;&quot;&gt;&lt;/i&gt;&#039;;
    $output .= &#039;&lt;/div&gt;&#039;;

    echo $output;

  }
endif;</code></pre>
<p>Hope that helps.</p>
<p>Cheers</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168326</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168326</link>
					<pubDate>Sun, 21 Dec 2014 12:23:52 +0000</pubDate>
					<dc:creator>Brittany H</dc:creator>

					<description>
						<![CDATA[
						<p>Hi! I was trying to fix my social share icons (reddit &amp; email icons were not appearing) so I followed the instructions above. I changed the code to what you recommended above and I now receive a warning when I try to logon to my wordpress site&#8230; </p>
<p>&#8220;Fatal error: Call to undefined function x_get_option() in /home/brihow14/modernwayfarers.com/wp-content/themes/x/framework/functions/global/social.php on line 85&#8221;</p>
<blockquote class="wp-embedded-content" data-secret="h4LhVMPXI9"><p><a href="http://modernwayfarers.com/" rel="nofollow">Home</a></p></blockquote>
<p><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="&#8220;Home&#8221; &#8212; My WordPress" src="http://modernwayfarers.com/embed/#?secret=q04FvsAYHu#?secret=h4LhVMPXI9" data-secret="h4LhVMPXI9" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p>Any ideas??</p>
<p>Thank you!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168757</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168757</link>
					<pubDate>Mon, 22 Dec 2014 09:53:03 +0000</pubDate>
					<dc:creator>Rubin</dc:creator>

					<description>
						<![CDATA[
						<p>Hey There,</p>
<p>Can you tell me what version of X you&#8217;re using? It looks like you&#8217;re using an old version so I would recommend updating the theme and all plugins to the latest version which use newer functions and increase also the performance. get_option was added to our theme some time ago so only if you&#8217;re using a theme version that is older than some month this error could be caused from this. Let me know if that resolves the issue.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168867</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168867</link>
					<pubDate>Mon, 22 Dec 2014 13:12:44 +0000</pubDate>
					<dc:creator>Brittany H</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m definitely using an older version. It was set up this summer. Not sure how to tell which version though. I have a child theme set up so hopefully this update will go smoothly! Fingers crossed!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168870</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168870</link>
					<pubDate>Mon, 22 Dec 2014 13:16:12 +0000</pubDate>
					<dc:creator>Brittany H</dc:creator>

					<description>
						<![CDATA[
						<p>Will I loose all of the custom css I&#8217;ve put in my customizer &#8216;custom&#8217; settings by updating the theme? </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168963</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168963</link>
					<pubDate>Mon, 22 Dec 2014 16:05:58 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>No,you won&#8217;t loose CSS inside Customizer,if you have modified files outside the child theme ,they will be overwritten,otherwise all files inside child theme are safe.<br />
Please update your theme and X shortocde referring to <a href="theme.co/x/member/kb/updating-your-theme-and-plugins/" rel="nofollow">theme.co/x/member/kb/updating-your-theme-and-plugins/</a>.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168964</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-168964</link>
					<pubDate>Mon, 22 Dec 2014 16:06:19 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>No,you won&#8217;t loose CSS inside Customizer,if you have modified files outside the child theme ,they will be overwritten,otherwise all files inside child theme are safe.<br />
Please update your theme and X shortocde referring to <a href="theme.co/x/member/kb/updating-your-theme-and-plugins/" rel="nofollow">theme.co/x/member/kb/updating-your-theme-and-plugins/</a>.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-169593</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-169593</link>
					<pubDate>Tue, 23 Dec 2014 07:38:17 +0000</pubDate>
					<dc:creator>Brittany H</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you! Everything is solved and the site is working fine after the update. I appreciate the wonderful support! </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-169759</guid>
					<title><![CDATA[Reply To: Social Icons will not show.]]></title>
					<link>https://theme.co/archive/forums/topic/social-icons-will-not-show/#post-169759</link>
					<pubDate>Tue, 23 Dec 2014 12:05:52 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re welcome 🙂</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

