<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Front page not recognized as such... effecting conditional abilites</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 15:37:11 +0000</pubDate>

<item>
<title>NED on "Front page not recognized as such... effecting conditional abilites"</title>
<link>http://themeshaper.com/forums/topic/front-page-not-recognized-as-such-effecting-conditional-abilites#post-17161</link>
<pubDate>Sat, 20 Nov 2010 21:02:53 +0000</pubDate>
<dc:creator>NED</dc:creator>
<guid isPermaLink="false">17161@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;doh! i could of sworn I tried that but that worked like a charm... thx for quik response ;)
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Front page not recognized as such... effecting conditional abilites"</title>
<link>http://themeshaper.com/forums/topic/front-page-not-recognized-as-such-effecting-conditional-abilites#post-17155</link>
<pubDate>Sat, 20 Nov 2010 17:58:36 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17155@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i put this in the other thread.  your function/conditional logic is out of order. try this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// conditionally Load js callz...

function add_js_calls() {
   if ( is_front_page() ) {?&#38;gt;

	&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	jQuery(document).ready(function() {
		jQuery(&#38;#39;#topic-scrollpane&#38;#39;).jScrollPane();

		jQuery(&#38;#39;#slider&#38;#39;).s3Slider({timeOut: 9000});

	});
	&#38;lt;/script&#38;gt;

 &#38;lt;?php } }
add_action(&#38;#39;wp_head&#38;#39;,&#38;#39;add_js_calls&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>NED on "Front page not recognized as such... effecting conditional abilites"</title>
<link>http://themeshaper.com/forums/topic/front-page-not-recognized-as-such-effecting-conditional-abilites#post-17149</link>
<pubDate>Sat, 20 Nov 2010 09:53:41 +0000</pubDate>
<dc:creator>NED</dc:creator>
<guid isPermaLink="false">17149@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;HI,&#60;br /&#62;
I have scoured the forums and wp to try and figure out what is going on but I cannot seem to get my functions file to recognize my static front page as such... I have followed the instructions thru wordpress &#38;gt; created an empty home page, gave the proper template name, built the template page and it loads fine and everything is great when viewing the home page, the problem is when I try to conditionally load some js scripts from within the functions file... here's my code but it doesn't work, any thoughts much obliged, thx ;)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// conditionally Load js callz...
if ( is_front_page() ) {
function add_js_calls() {  ?&#38;gt;

	&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	jQuery(document).ready(function() {
		jQuery(&#38;#39;#topic-scrollpane&#38;#39;).jScrollPane();

		jQuery(&#38;#39;#slider&#38;#39;).s3Slider({timeOut: 9000});

	});
	&#38;lt;/script&#38;gt;

 &#38;lt;?php }
add_action(&#38;#39;wp_head&#38;#39;,&#38;#39;add_js_calls&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>

</channel>
</rss>
