<?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: Add onload to body on homepage only</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 23:59:05 +0000</pubDate>

<item>
<title>em hr on "Add onload to body on homepage only"</title>
<link>http://themeshaper.com/forums/topic/add-onload-to-body-on-homepage-only#post-27728</link>
<pubDate>Sat, 15 Dec 2012 17:55:25 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">27728@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Please &#60;a href=&#34;http://themeshaper.com/forums/topic/please-read-this-before-adding-new-topics-thematic-has-moved&#34;&#62; read this&#60;/a&#62; and come to then new &#60;a href=&#34;http://thematictheme.com/forums/&#34;&#62;ThematicTheme Forums&#60;/a&#62; for support.
&#60;/p&#62;</description>
</item>
<item>
<title>janimal on "Add onload to body on homepage only"</title>
<link>http://themeshaper.com/forums/topic/add-onload-to-body-on-homepage-only#post-27664</link>
<pubDate>Thu, 01 Nov 2012 09:22:55 +0000</pubDate>
<dc:creator>janimal</dc:creator>
<guid isPermaLink="false">27664@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I haven't tried this but...&#60;/p&#62;
&#60;p&#62;The code for the body tag is in thematic\library\extensions\dynamic-classes.php&#60;/p&#62;
&#60;p&#62;So you could create an override for thematic_body() and insert your code to test whether the given page is the home page&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (is_home() &#124;&#124; is_front_page()) {...}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and add the appropriate mark-up to the tag.&#60;/p&#62;
&#60;p&#62;Hope this helps...
&#60;/p&#62;</description>
</item>
<item>
<title>jhkoning on "Add onload to body on homepage only"</title>
<link>http://themeshaper.com/forums/topic/add-onload-to-body-on-homepage-only#post-27615</link>
<pubDate>Thu, 13 Sep 2012 01:30:32 +0000</pubDate>
<dc:creator>jhkoning</dc:creator>
<guid isPermaLink="false">27615@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi there,&#60;br /&#62;
I'm no further ahead with this - can anyone help me - please?&#60;br /&#62;
Thanks in advance,&#60;br /&#62;
Jas
&#60;/p&#62;</description>
</item>
<item>
<title>jhkoning on "Add onload to body on homepage only"</title>
<link>http://themeshaper.com/forums/topic/add-onload-to-body-on-homepage-only#post-27602</link>
<pubDate>Fri, 31 Aug 2012 09:36:31 +0000</pubDate>
<dc:creator>jhkoning</dc:creator>
<guid isPermaLink="false">27602@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi there,&#60;br /&#62;
The subject pretty much says it all, but how would I add, say this;&#60;/p&#62;
&#60;p&#62;onload=&#34;MM_preloadImages('/images/png/better-dog.png')&#34; class=&#34;home&#34;&#60;/p&#62;
&#60;p&#62;For arguments sake, to the &#38;lt;body&#38;gt; tag for the homepage only?&#60;br /&#62;
Any ideas GREATLY appreciated  :)&#60;br /&#62;
Thanks in advance,&#60;br /&#62;
Jas
&#60;/p&#62;</description>
</item>

</channel>
</rss>
