<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Custom Code &#34;includes&#34; outside Theme path</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-code-includes-outside-theme-path</link>
		<description>Gravity Support Forums Topic: Custom Code &quot;includes&quot; outside Theme path</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 12:21:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/custom-code-includes-outside-theme-path" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Custom Code &#34;includes&#34; outside Theme path"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-code-includes-outside-theme-path#post-79898</link>
			<pubDate>Tue, 09 Oct 2012 18:10:54 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">79898@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;During a quick chat with one of the other developers on the subject, this suggestion came up.. that the best thing to do in this situation is to house any custom code in your own custom plugin that you can then activate just like any other plugin. Then its completely separate from the user's theme and isn't impacted by theme updates, etc.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom Code &#34;includes&#34; outside Theme path"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-code-includes-outside-theme-path#post-79894</link>
			<pubDate>Tue, 09 Oct 2012 17:40:02 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">79894@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've forwarded this on the the development team for them to review. Thanks a lot for the suggestion.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rverrips on "Custom Code &#34;includes&#34; outside Theme path"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-code-includes-outside-theme-path#post-79884</link>
			<pubDate>Tue, 09 Oct 2012 17:02:55 +0000</pubDate>
			<dc:creator>rverrips</dc:creator>
			<guid isPermaLink="false">79884@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I got tired of having to &#34;rebuild&#34; my functions.php (which I use extensively for Gravity forms, etc.) everytime I upgrade HeadwayTheme with the &#34;one-click&#34; upgrade (which I think is great, by the way) so I started keeping my custom code &#34;outside&#34; the headway theme path (in a folder called hw-custom) and then have a little script I run after upgrading to add the included two lines of code after the &#34;Headway::Init()&#34; line, currently number 20 into functions.php and thus including my custom code in the upgraded theme files.    &#60;/p&#62;
&#60;p&#62;Could you perhaps make something similar a standard feature?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Add my custom code */
require_once get_theme_root() . &#38;#39;/hw-custom/functions.php&#38;#39;;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
