<?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>google translate &quot;flags&quot; in topbar or menubar &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 20:38:43 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-101411</guid>
					<title><![CDATA[google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-101411</link>
					<pubDate>Tue, 09 Sep 2014 13:22:29 +0000</pubDate>
					<dc:creator>Bo Garde Blaksteen J</dc:creator>

					<description>
						<![CDATA[
						<p>Hi</p>
<p>How do i put the google translate flags from this page <a href="http://www.nerdproductions.dk/tangent-element-tk" rel="nofollow">http://www.nerdproductions.dk/tangent-element-tk</a> up in the menu or in the topbar next to the social icons?</p>
<p>my site is <a href="http://www.nerdproductions.dk/" rel="nofollow">http://www.nerdproductions.dk/</a></p>
<p>i use the Google Language Translator plugin. and have used a shortcode to input the flags.</p>
<p>i have tried to mess around the the php but can not get it to work</p>
<p>thanks in advance 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-101483</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-101483</link>
					<pubDate>Tue, 09 Sep 2014 14:54:09 +0000</pubDate>
					<dc:creator>Mrinal</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Bo, </p>
<p>Thanks for writing in! </p>
<p>At first, 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>Now, open the functions.php file of your child theme. Then add the following codes into it: </p>
<pre><code>add_filter(&#039;theme_x_topbar_content&#039;,&#039;x_topbar_do_shortcode&#039;);

function x_topbar_do_shortcode($content) {
 return do_shortcode( $content );
}</code></pre>
<p>Then go to <strong>Appearance &gt; Customize &gt; Header &gt; Enable Topbar content &amp; add the shortcode of Translate plugin</strong> there. </p>
<p>Hope these helps, Cheers! </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-101946</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-101946</link>
					<pubDate>Wed, 10 Sep 2014 11:39:01 +0000</pubDate>
					<dc:creator>Bo Garde Blaksteen J</dc:creator>

					<description>
						<![CDATA[
						<p>Hi</p>
<p>thanks for your reply!</p>
<p>I have done as you told me, but it seems that the shortcode still isnt working. Do you have any suggestions? link: <a href="http://www.nerdproductions.dk/" rel="nofollow">http://www.nerdproductions.dk/</a></p>
<p>my functions.php in the child theme now looks like this:</p>
<p>&lt;?php<br />
// =============================================================================<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>add_filter(&#8216;theme_x_topbar_content&#8217;,&#8217;x_topbar_do_shortcode&#8217;);</p>
<p>function x_topbar_do_shortcode($content) {<br />
 return do_shortcode( $content );<br />
}<br />
?&gt;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102037</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102037</link>
					<pubDate>Wed, 10 Sep 2014 14:42:55 +0000</pubDate>
					<dc:creator>Mrinal</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Bo, </p>
<p>You&#8217;re using slight old version of X theme, At first please update your theme to latest version 2.4.0 by following this KB article: <a href="http://theme.co/x/member/kb/updating-your-theme-and-plugins/" rel="nofollow">Updating Your Theme and Plugins</a>. </p>
<p>If the update not resolves the issue then, Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:</p>
<p>&#8211; Link to your site<br />
&#8211; WordPress Admin username / password<br />
&#8211; FTP credentials</p>
<p><strong>Don&#8217;t forget to select Set as private reply. This ensures your information is only visible to our staff. </strong></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102620</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102620</link>
					<pubDate>Thu, 11 Sep 2014 09:56:13 +0000</pubDate>
					<dc:creator>Bo Garde Blaksteen J</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102647</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102647</link>
					<pubDate>Thu, 11 Sep 2014 11:09:49 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Bo,</p>
<p>Sorry about that.</p>
<p>Can you try the steps below instead.</p>
<p>1. Create the file /wp-content/themes/x-child-integrity-light/framework/views/global/_topbar.php</p>
<p>2. Paste the code below in /wp-content/themes/x-child-integrity-light/framework/views/global/_topbar.php</p>
<pre><code>
&lt;?php

// =============================================================================
// VIEWS/GLOBAL/_TOPBAR.PHP
// -----------------------------------------------------------------------------
// Includes topbar output.
// =============================================================================

?&gt;

&lt;?php if ( x_get_option( &#039;x_topbar_display&#039;, 0 ) == 1 ) : ?&gt;

  &lt;div class=&quot;x-topbar&quot;&gt;
    &lt;div class=&quot;x-topbar-inner x-container-fluid max width&quot;&gt;
      &lt;?php if ( x_get_option( &#039;x_topbar_content&#039; ) != &#039;&#039; ) : ?&gt;
      &lt;p class=&quot;p-info&quot;&gt;&lt;?php echo x_get_option( &#039;x_topbar_content&#039; ); ?&gt;&lt;/p&gt;
      &lt;?php endif; ?&gt;                                       
      &lt;?php x_social_global(); ?&gt;                              
      &lt;div class=&quot;gtranslate&quot; style=&quot;float:right;&quot;&gt;&lt;?php echo do_shortcode(&#039;[google-translator]&#039;); ?&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;?php endif; ?&gt;
</code></pre>
<p>3. You can add this under <strong>Custom &gt; CSS</strong> in the <strong>Customizer</strong>.</p>
<pre><code>
.gtranslate div {
    display:inline-block;
}
</code></pre>
<p>Thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102922</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102922</link>
					<pubDate>Thu, 11 Sep 2014 18:05:57 +0000</pubDate>
					<dc:creator>Bo Garde Blaksteen J</dc:creator>

					<description>
						<![CDATA[
						<p>It works 🙂</p>
<p>thanks alot &#8211; very great support youve got going here 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102944</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-102944</link>
					<pubDate>Thu, 11 Sep 2014 18:46:48 +0000</pubDate>
					<dc:creator>Cousett</dc:creator>

					<description>
						<![CDATA[
						<p>Glad we were able to help. 🙂 Have a nice day. </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-150970</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-150970</link>
					<pubDate>Sun, 23 Nov 2014 13:22:45 +0000</pubDate>
					<dc:creator>Bo Garde Blaksteen J</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-151260</guid>
					<title><![CDATA[Reply To: google translate &quot;flags&quot; in topbar or menubar]]></title>
					<link>https://theme.co/archive/forums/topic/google-translate-flags-in-topbar-or-menubar/#post-151260</link>
					<pubDate>Mon, 24 Nov 2014 04:29:08 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Can&#8217;t check your site,</p>
<p>1. The admin login has no permission to check and edit theme files.<br />
2. FTP isn&#8217;t working.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

