<?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 Add Code to Header? &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/how-to-add-code-to-header/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 10:08:58 +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-add-code-to-header/#post-166936</guid>
					<title><![CDATA[How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-166936</link>
					<pubDate>Thu, 18 Dec 2014 11:00:32 +0000</pubDate>
					<dc:creator>thecashbag</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m trying to install <a href="https://www.tidiochat.com/" rel="nofollow">https://www.tidiochat.com/</a> on my site.</p>
<p>For the installation it wants me to add code to the Header.php file just before the &lt;/head&gt; tag. I was hoping to add this via the Customizer as I don&#8217;t want to create a child theme, and I want to keep Theme X upgrade proof.</p>
<p>So in the Customizer I add this code:</p>
<p><code>&lt;script src=&quot;//code.tidio.co/a0nkzkdpu1d7qlopnjvwjshl39d1ai5c.js&quot;&gt;&lt;/script&gt;</code></p>
<p>I open the customizer, go to the Custom section, and in the JavaScript box I paste that code. But it isn&#8217;t working. I think it may have something to do with how it says &#8220;Do not place any &lt;style&gt; or &lt;script&gt; tags in these areas as they are already added for your convenience.&#8221; How do I add that code without the script parts? I tried to edit out those parts but I think I did it wrong as it wasn&#8217;t working.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-167284</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-167284</link>
					<pubDate>Thu, 18 Dec 2014 22:05:54 +0000</pubDate>
					<dc:creator>John Ezra</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>The best way to get this done is to create a child theme. You can download our <a href="https://theme.co/x/member/child-themes/" rel="nofollow">child themes</a> and just install them.</p>
<p>Please review how to 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>.<br />
Also make sure you take a look at our <a href="http://theme.co/x/member/kb/customization-best-practices/" rel="nofollow">Customization Best Practices</a>.</p>
<p>Once you have that done.</p>
<p>copy the <strong>&#8220;_header.php&#8221;</strong> file from the following path &#8220;/wp-content/themes/x/framework/views/global/_header.php&#8221;</p>
<p>and paste it in the exact path in your child theme.<br />
<strong>/wp-content/themes/x-child-integrity-light/framework/views/global/_header.php</strong></p>
<p><strong>Note:</strong> You would need to change <strong>&#8220;x-child-integrity-light&#8221;</strong> to the child theme you are using (you weren&#8217;t able to give us your URL so I couldn&#8217;t tailor it for you)</p>
<p>Finally you can add your code before the closing <code>&lt;/head&gt;</code> tag.</p>
<p>Hope this helps!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-369407</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-369407</link>
					<pubDate>Wed, 26 Aug 2015 01:03:42 +0000</pubDate>
					<dc:creator>Kevin Bond</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-369589</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-369589</link>
					<pubDate>Wed, 26 Aug 2015 05:33:35 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373154</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373154</link>
					<pubDate>Sat, 29 Aug 2015 21:42:42 +0000</pubDate>
					<dc:creator>iceman600</dc:creator>

					<description>
						<![CDATA[
						<p>Is this necessary on using a child theme?</p>
<pre><code>copy the “_header.php” file from the following path “/wp-content/themes/x/framework/views/global/_header.php”

and paste it in the exact path in your child theme.
/wp-content/themes/x-child-integrity-light/framework/views/global/_header.php</code></pre>
<p>I notice that the views folder in child theme are all empty for ethos,icon, global, integrity and renew.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373324</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373324</link>
					<pubDate>Sun, 30 Aug 2015 05:45:58 +0000</pubDate>
					<dc:creator>Rue Nel</dc:creator>

					<description>
						<![CDATA[
						<p>Hello There,</p>
<p>Thanks for updating the thread!<br />
Yes it is necessary. That is how you override the template file in the parent theme. For more details on the best customization practices, please check out our knowledge base here: <a href="https://community.theme.co//kb/customization-best-practices/" rel="nofollow">https://community.theme.co//kb/customization-best-practices/</a></p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373619</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373619</link>
					<pubDate>Sun, 30 Aug 2015 16:58:42 +0000</pubDate>
					<dc:creator>iceman600</dc:creator>

					<description>
						<![CDATA[
						<p>Here is what i experienced in adding a code to the header.php:</p>
<p>I put the Header with my google manager tag on the views folder on ethos folder since thats what theme im using and the code didnt trigger. So what i did is copy the header.php and put in global folder and the trigger fired.</p>
<p>question: do i have to put the header tag on the global folder and the theme folder that im using for a code to trigger?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373624</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373624</link>
					<pubDate>Sun, 30 Aug 2015 17:02:05 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

					<description>
						<![CDATA[
						<p>Hi <a href="https://theme.co/archive/users/iceman600/" class="bbp-user-mention bbp-user-id-36737"> @iceman600</a>,</p>
<p>You just need to copy the <code>_header.php</code> file to the <code>global</code> directory.</p>
<p>In the same path of X parent theme:</p>
<p>&#8211; x/framework/views/global/_header.php<br />
&#8211; x-child/framework/views/global/_header.php</p>
<p>Regards!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373651</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373651</link>
					<pubDate>Sun, 30 Aug 2015 17:39:52 +0000</pubDate>
					<dc:creator>iceman600</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you so mch you rock for replying so fast 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373653</guid>
					<title><![CDATA[Reply To: How to Add Code to Header?]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-add-code-to-header/#post-373653</link>
					<pubDate>Sun, 30 Aug 2015 17:41:53 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

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

					
					
				</item>

					
		
	</channel>
	</rss>

