<?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>WMPL Language Selector setup &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/wmpl-language-selector-setup/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 15:16:36 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349536</guid>
					<title><![CDATA[WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349536</link>
					<pubDate>Tue, 04 Aug 2015 11:36:09 +0000</pubDate>
					<dc:creator>Alex</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>I use the latest version of the theme and just now have installed the WMPL plugin and have it set up, but it doesn&#8217;t show any language selector in the header or footer.</p>
<p>Can you help me to set up in properly with your theme? I&#8217;m not into PHP or something, I can&#8217;t dig into code myself. I have this manual on how to set up selector for the footer:</p>
<p><a href="https://wpml.org/documentation/getting-started-guide/language-setup/custom-language-switcher/" rel="nofollow">https://wpml.org/documentation/getting-started-guide/language-setup/custom-language-switcher/</a></p>
<p>Could you help me to include the selector into header here: <a href="http://take.ms/wr1Ad" rel="nofollow">http://take.ms/wr1Ad</a> ? Just right after the text in top bar.</p>
<p>I can style it myself via some CSS, but I don&#8217;t really know how to put the selector into header.</p>
<p>Also, could you please tell if the instructions in the manual above are sufficient to put the selector into footer of your theme? I mean, will it work, is it compatible with your theme? Since it&#8217;s very complex theme with Cornerstone plugin and stuff.</p>
<p>Thank you in advance.</p>
<p>&#8212;<br />
Alex</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349583</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349583</link>
					<pubDate>Tue, 04 Aug 2015 12:34:09 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Alex,</p>
<p>Thanks for writing in! Since WPML is a 3rd party plugin, we only provide support for its compatibility issues. Any other customization such as adding language selector to the footer can be achieved with custom development but would fall outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. </p>
<p>Thanks for understanding. Take care!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349631</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349631</link>
					<pubDate>Tue, 04 Aug 2015 13:21:32 +0000</pubDate>
					<dc:creator>Alex</dc:creator>

					<description>
						<![CDATA[
						<p>Okay, thank you. </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349655</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349655</link>
					<pubDate>Tue, 04 Aug 2015 13:48:05 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349666</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349666</link>
					<pubDate>Tue, 04 Aug 2015 13:55:26 +0000</pubDate>
					<dc:creator>Alex</dc:creator>

					<description>
						<![CDATA[
						<p>One more thing, though. 🙂 </p>
<p>Could you at least tell me where I should put this PHP code </p>
<p>&lt;?php do_action(&#8216;wpml_add_language_selector&#8217;); ?&gt;</p>
<p>if I want to put this into top bar on the right, after the text?</p>
<p>It would really help and it&#8217;s not like development thing, it&#8217;s more of a locating some file. </p>
<p>Thanks, anyway.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349706</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349706</link>
					<pubDate>Tue, 04 Aug 2015 14:36:10 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>Because this requires a template change, I’d advise that you setup a <a href="https://theme.co/x/member/kb/how-to-setup-child-themes/" rel="nofollow">child theme</a>. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in <a href="https://theme.co/x/member/kb/customization-best-practices/" rel="nofollow">Customization Best Practices</a>.<br />
Then navigate to your child theme’s <strong>/framework/views/global</strong> directory create a file named <strong>_navbar.php</strong> and paste the code below:</p>
<pre><code>&lt;?php

// =============================================================================
// VIEWS/GLOBAL/_NAVBAR.PHP
// -----------------------------------------------------------------------------
// Outputs the navbar.
// =============================================================================

$navbar_position = x_get_navbar_positioning();
$logo_nav_layout = x_get_logo_navigation_layout();
$is_one_page_nav = x_is_one_page_navigation();

?&gt;

&lt;?php if ( ( $navbar_position == &#039;static-top&#039; || $navbar_position == &#039;fixed-top&#039; || $is_one_page_nav ) &amp;&amp; $logo_nav_layout == &#039;stacked&#039; ) : ?&gt;

  &lt;div class=&quot;x-logobar&quot;&gt;
    &lt;div class=&quot;x-logobar-inner&quot;&gt;
      &lt;div class=&quot;x-container max width&quot;&gt;
        &lt;?php x_get_view( &#039;global&#039;, &#039;_brand&#039; ); ?&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

  &lt;div class=&quot;x-navbar-wrap&quot;&gt;
    &lt;div class=&quot;&lt;?php x_navbar_class(); ?&gt;&quot;&gt;
      &lt;div class=&quot;x-navbar-inner&quot;&gt;
        &lt;div class=&quot;x-container max width&quot;&gt;
          &lt;?php
            x_get_view( &#039;global&#039;, &#039;_nav&#039;, &#039;primary&#039; );
            do_action(&#039;wpml_add_language_selector&#039;);
          ?&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;?php else : ?&gt;

  &lt;div class=&quot;x-navbar-wrap&quot;&gt;
    &lt;div class=&quot;&lt;?php x_navbar_class(); ?&gt;&quot;&gt;
      &lt;div class=&quot;x-navbar-inner&quot;&gt;
        &lt;div class=&quot;x-container max width&quot;&gt;
          &lt;?php x_get_view( &#039;global&#039;, &#039;_brand&#039; ); ?&gt;
          &lt;?php x_get_view( &#039;global&#039;, &#039;_nav&#039;, &#039;primary&#039; ); ?&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;?php endif; ?&gt;</code></pre>
<p>Hope it helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349716</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349716</link>
					<pubDate>Tue, 04 Aug 2015 14:42:05 +0000</pubDate>
					<dc:creator>Alex</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks. I already use child theme. I did as you told me, but that didn&#8217;t help. I think I have to wait for support from WPML team.</p>
<p>Thank you, anyway!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349773</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-349773</link>
					<pubDate>Tue, 04 Aug 2015 15:37:46 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>The workaround may not work depending on your setup or the incorrect code. As this is a custom development, regretfully we cannot provide support for it. You may contact our trusted development partners for custom development: <a href="https://community.theme.co//custom-development/" rel="nofollow">https://community.theme.co//custom-development/</a></p>
<p>Thanks for understanding. Take care!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-350651</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-350651</link>
					<pubDate>Wed, 05 Aug 2015 11:35:17 +0000</pubDate>
					<dc:creator>Alex</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for recommendation, but I don&#8217;t have the budget to use some developer. Can you help me a little bit more?</p>
<p>I contacted the WMPL support and they gave me this code based on the code you gave me earlier:</p>
<pre><code>&lt;?php
  
// =============================================================================
// VIEWS/GLOBAL/_NAVBAR.PHP
// -----------------------------------------------------------------------------
// Outputs the navbar.
// =============================================================================
  
$navbar_position = x_get_navbar_positioning();
$logo_nav_layout = x_get_logo_navigation_layout();
$is_one_page_nav = x_is_one_page_navigation();
  
?&gt;
  
&lt;?php if ( ( $navbar_position == &#039;static-top&#039; || $navbar_position == &#039;fixed-top&#039; || $is_one_page_nav ) &amp;&amp; $logo_nav_layout == &#039;stacked&#039; ) : ?&gt;
  
  &lt;div class=&quot;x-logobar&quot;&gt;
    &lt;div class=&quot;x-logobar-inner&quot;&gt;
      &lt;div class=&quot;x-container max width&quot;&gt;
        &lt;?php x_get_view( &#039;global&#039;, &#039;_brand&#039; ); ?&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class=&quot;x-navbar-wrap&quot;&gt;
    &lt;div class=&quot;&lt;?php x_navbar_class(); ?&gt;&quot;&gt;
      &lt;div class=&quot;x-navbar-inner&quot;&gt;
        &lt;div class=&quot;x-container max width&quot;&gt;
          &lt;?php
            x_get_view( &#039;global&#039;, &#039;_nav&#039;, &#039;primary&#039; );
            do_action(&#039;wpml_add_language_selector&#039;);
          ?&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
&lt;?php else : ?&gt;
  
  &lt;div class=&quot;x-navbar-wrap&quot;&gt;
    &lt;div class=&quot;&lt;?php x_navbar_class(); ?&gt;&quot;&gt;
      &lt;div class=&quot;x-navbar-inner&quot;&gt;
        &lt;div class=&quot;x-container max width&quot;&gt;
          &lt;?php x_get_view( &#039;global&#039;, &#039;_brand&#039; ); ?&gt;
          &lt;?php x_get_view( &#039;global&#039;, &#039;_nav&#039;, &#039;primary&#039; ); 
          do_action(&#039;wpml_add_language_selector&#039;); ?&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
&lt;?php endif; ?&gt;</code></pre>
<p>And now the selector appeared, but not in the top bar, it appeared in the left nav bar:</p>
<p><a href="http://take.ms/lVR5H" rel="nofollow">http://take.ms/lVR5H</a></p>
<p>So how can I move it to the top bar position I marked on the screenshot? Since I managed to get it work and appear on the site, now it&#8217;s the matter of putting selector code properly into your top bar file as I understand it. Please help me once more with it.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-350654</guid>
					<title><![CDATA[Reply To: WMPL Language Selector setup]]></title>
					<link>https://theme.co/archive/forums/topic/wmpl-language-selector-setup/#post-350654</link>
					<pubDate>Wed, 05 Aug 2015 11:36:58 +0000</pubDate>
					<dc:creator>Alex</dc:creator>

					<description>
						<![CDATA[
						<p>Also, if I want to put selector in the footer, what theme file should I edit and copy to the child theme folder?</p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

