<?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: Conditional load of scripts and CSS</title>
		<link>https://legacy.forums.gravityhelp.com/topic/conditional-load-of-scripts-and-css</link>
		<description>Gravity Support Forums Topic: Conditional load of scripts and CSS</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:19:34 +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/conditional-load-of-scripts-and-css" rel="self" type="application/rss+xml" />

		<item>
			<title>WebEndev on "Conditional load of scripts and CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-load-of-scripts-and-css#post-24441</link>
			<pubDate>Thu, 28 Apr 2011 16:16:55 +0000</pubDate>
			<dc:creator>WebEndev</dc:creator>
			<guid isPermaLink="false">24441@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I figured it out.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;wp_print_styles&#38;#39;, &#38;#39;my_deregister_styles&#38;#39;, 100 );
function my_deregister_styles() {
if ( is_front_page() ) {
wp_deregister_style( &#38;#39;gforms_css&#38;#39; );
}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>WebEndev on "Conditional load of scripts and CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-load-of-scripts-and-css#post-24433</link>
			<pubDate>Thu, 28 Apr 2011 14:26:59 +0000</pubDate>
			<dc:creator>WebEndev</dc:creator>
			<guid isPermaLink="false">24433@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello.&#60;/p&#62;
&#60;p&#62;I am trying to prevent the load of the gravity forms style sheet on a particular page.&#60;/p&#62;
&#60;p&#62;I tried this: &#60;a href=&#34;http://www.pastie.org/1844330&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/1844330&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It did not work. Was wondering how I would prevent the CSS from loading on my homepage (or conditionally on any other page)?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
