<?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>How to change order of social icons? &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/how-to-change-order-of-social-icons/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/how-to-change-order-of-social-icons/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 18 Oct 2025 16:29:52 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-change-order-of-social-icons/#post-185208</guid>
					<title><![CDATA[How to change order of social icons?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-change-order-of-social-icons/#post-185208</link>
					<pubDate>Sat, 17 Jan 2015 21:44:26 +0000</pubDate>
					<dc:creator>aloveroc</dc:creator>

					<description>
						<![CDATA[
						<p>Hi. I am currently using the twitter, linkedin and instagram social icons (and they appear in that order). I am hoping to have the linkedin icon appear first (before the twitter icon) if possible?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-change-order-of-social-icons/#post-185808</guid>
					<title><![CDATA[Reply To: How to change order of social icons?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-change-order-of-social-icons/#post-185808</link>
					<pubDate>Mon, 19 Jan 2015 03:13:54 +0000</pubDate>
					<dc:creator>Friech</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thank you for writing in! Because this requires a template change, I&#8217;d advise that you setup a <a href="http://theme.co/x/member/kb/how-to-setup-child-themes/" title="Child Themes" target="_blank" rel="nofollow">child theme</a>. This allows you to make code changes that won&#8217;t be overwritten when an <strong>X</strong> update is released. After your child theme is setup, please review how we recommend making template changes in <a href="http://theme.co/x/member/kb/customization-best-practices/" rel="nofollow">Customization Best Practices</a>.</p>
<p>Then on your child&#8217;s theme <strong>functions.php</strong> paste this code.</p>
<pre><code>// Social Output
// =============================================================================

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; );
    $xing        = x_get_option( &#039;x_social_xing&#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; );
    $flickr      = x_get_option( &#039;x_social_flickr&#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-icon-facebook-square&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-icon-linkedin-square&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-icon-twitter-square&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-icon-google-plus-square&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $xing )        : $output .= &#039;&lt;a href=&quot;&#039; . $xing        . &#039;&quot; class=&quot;xing&quot; title=&quot;XING&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-icon-xing-square&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-icon-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-icon-youtube-square&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-icon-vimeo-square&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-icon-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-icon-pinterest-square&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-icon-dribbble&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;
      if ( $flickr )      : $output .= &#039;&lt;a href=&quot;&#039; . $flickr      . &#039;&quot; class=&quot;flickr&quot; title=&quot;Flickr&quot; target=&quot;_blank&quot;&gt;&lt;i class=&quot;x-icon-flickr&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-icon-behance-square&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-icon-tumblr-square&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-icon-rss-square&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#039;; endif;

    $output .= &#039;&lt;/div&gt;&#039;;

    echo $output;

  }
endif;</code></pre>
<p>Hope it helps, Cheers!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

