<?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 Tag: body class</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 20 Jun 2013 02:21:35 +0000</pubDate>

<item>
<title>helgatheviking on "How to add a class to the body tag with a filter?"</title>
<link>http://themeshaper.com/forums/topic/how-to-add-a-class-to-the-body-tag-with-a-filter#post-24203</link>
<pubDate>Thu, 08 Dec 2011 12:11:53 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24203@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;cue the happy trombones!
&#60;/p&#62;</description>
</item>
<item>
<title>benfrain.com on "How to add a class to the body tag with a filter?"</title>
<link>http://themeshaper.com/forums/topic/how-to-add-a-class-to-the-body-tag-with-a-filter#post-24202</link>
<pubDate>Thu, 08 Dec 2011 12:06:23 +0000</pubDate>
<dc:creator>benfrain.com</dc:creator>
<guid isPermaLink="false">24202@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hallelujah and pass the biscuits! Thanks Kathy, you're a gem!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "How to add a class to the body tag with a filter?"</title>
<link>http://themeshaper.com/forums/topic/how-to-add-a-class-to-the-body-tag-with-a-filter#post-24189</link>
<pubDate>Thu, 08 Dec 2011 00:55:10 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24189@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;so close ben, but you need to return $c no matter what. i think this should do it: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function extend_body_class($c) {
	if (function_exists(&#38;#39;is_bbpress&#38;#39;) &#38;#38;&#38;#38; is_bbpress()) {
	   $c[] = &#38;#39;bbForum&#38;#39;;
        }
	return $c;
}
add_filter(&#38;#39;thematic_body_class&#38;#39;, &#38;#39;extend_body_class&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>benfrain.com on "How to add a class to the body tag with a filter?"</title>
<link>http://themeshaper.com/forums/topic/how-to-add-a-class-to-the-body-tag-with-a-filter#post-24188</link>
<pubDate>Wed, 07 Dec 2011 22:37:56 +0000</pubDate>
<dc:creator>benfrain.com</dc:creator>
<guid isPermaLink="false">24188@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm amending a filter I'd seen Chris had posted elsewhere in the forum: &#60;a href=&#34;http://themeshaper.com/forums/topic/how-to-add-a-class-to-the-ltbodygt-declaration&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/how-to-add-a-class-to-the-ltbodygt-declaration&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm trying to adapt it to do the following:&#60;/p&#62;
&#60;p&#62;1. If the page is a forum (bbpress) page - add the class 'bbforum' to the body&#60;br /&#62;
2. If it isn't a forum page - leave the dynamic classes as they were before&#60;/p&#62;
&#60;p&#62;Here's what I have in functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function extend_body_class($c) {
	if (function_exists(&#38;#39;is_bbpress&#38;#39;) &#38;#38;&#38;#38; is_bbpress()) {
	$c[] = &#38;#39;bbForum&#38;#39;;
	return $c;
	}
}
add_filter(&#38;#39;thematic_body_class&#38;#39;, &#38;#39;extend_body_class&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Which works fine on the forum pages, however, on other pages it is truncating the dynamic classes. What do I need to change to stop it doing that????
&#60;/p&#62;</description>
</item>
<item>
<title>teamA on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-20865</link>
<pubDate>Wed, 27 Apr 2011 19:33:55 +0000</pubDate>
<dc:creator>teamA</dc:creator>
<guid isPermaLink="false">20865@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@miochat -&#60;/p&#62;
&#60;p&#62;I'm not sure if you found a solution - or that I necessarily understand your question. With those caveats understood, there are a few items of note I found when playing with this.&#60;/p&#62;
&#60;p&#62;When I used your code as a jumping off place and ran into some issues.&#60;/p&#62;
&#60;p&#62;First, make sure you've turned on Thematic's body class and post class:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
define('THEMATIC_COMPATIBLE_BODY_CLASS', true);&#60;br /&#62;
define('THEMATIC_COMPATIBLE_POST_CLASS', true);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Then you should see all kinds of extra information in the body class, maybe too much. From there you can use the filters listed above to turn off items with a return FALSE action.&#60;/p&#62;
&#60;p&#62;I needed to add some items to the body class (parent categories) and I used the thematic $c{} structure in my function. This wiped out all of the other information in the array, so only my parent category was listed. Not ideal. Only be creating my own array of variable was I able to get the body class to print all of the thematic information, as well as my own.&#60;/p&#62;
&#60;p&#62;Hope that helps.
&#60;/p&#62;</description>
</item>
<item>
<title>miochat on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-19401</link>
<pubDate>Sun, 27 Feb 2011 22:34:34 +0000</pubDate>
<dc:creator>miochat</dc:creator>
<guid isPermaLink="false">19401@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;In order to improve performance you want avoid generating unnessesary classes. Makes sense.&#60;br /&#62;
So, you created filters to switch them off.&#60;br /&#62;
Yet, in the current version some classes seem to be switched off by default.&#60;br /&#62;
0.9.7.5 - Fixed behaviour of thematic_show_bodyclass. The body tag will now be created, if a filter returns false.&#60;br /&#62;
I tried swithing it on like this&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function childtheme_show_bc_singular(){ return false; }&#60;br /&#62;
add_filter('thematic_show_bc_singular', 'childtheme_show_bc_singular');&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
but that did not work.&#60;br /&#62;
Now I temporary fixed it like this&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function restore_bc_singular(){&#60;br /&#62;
	// Special classes for BODY element when a singular post&#60;br /&#62;
	if ( is_singular() ) {&#60;br /&#62;
	    $c[] = 'singular';&#60;br /&#62;
	} else {&#60;br /&#62;
        $c[] = 'not-singular';&#60;br /&#62;
    }&#60;br /&#62;
    return $c;&#60;br /&#62;
}&#60;br /&#62;
add_filter('body_class', 'restore_bc_singular');&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
Can you show me the proper way?
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Latest SVN copy"</title>
<link>http://themeshaper.com/forums/topic/latest-svn-copy#post-15842</link>
<pubDate>Sun, 26 Sep 2010 20:10:51 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">15842@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Latest addition to the SVN (Revision 729) requires:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;THEMATIC_COMPATIBLE_COMMENT_FORM&#38;#39;, true);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>perryb on "Two sites, same child theme, different body classes. Huh?"</title>
<link>http://themeshaper.com/forums/topic/two-sites-same-child-theme-different-body-classes-huh#post-15642</link>
<pubDate>Fri, 17 Sep 2010 08:02:28 +0000</pubDate>
<dc:creator>perryb</dc:creator>
<guid isPermaLink="false">15642@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Nice one em hr that worked a treat, plus I just learned an important lesson about tinkering with the trunk!
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Two sites, same child theme, different body classes. Huh?"</title>
<link>http://themeshaper.com/forums/topic/two-sites-same-child-theme-different-body-classes-huh#post-15639</link>
<pubDate>Fri, 17 Sep 2010 00:46:09 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">15639@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Also look in the functions.php of the parent theme for more child theme definable constants. Check the comment blocks in there for more detail
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Two sites, same child theme, different body classes. Huh?"</title>
<link>http://themeshaper.com/forums/topic/two-sites-same-child-theme-different-body-classes-huh#post-15638</link>
<pubDate>Fri, 17 Sep 2010 00:30:33 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">15638@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;HI perryb,&#60;/p&#62;
&#60;p&#62;No worries. There are changes to the latest svn that have to do with compliance to WP theme review. The first example you posted is using thematic's body class function the second example is using a filtered version of WP's body class function.&#60;/p&#62;
&#60;p&#62;For the second site add this to your child theme's functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;THEMATIC_COMPATIBLE_BODY_CLASS&#38;#39;, true);
define(&#38;#39;THEMATIC_COMPATIBLE_POST_CLASS&#38;#39;, true);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This will restore the original Thematic functions.&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>perryb on "Two sites, same child theme, different body classes. Huh?"</title>
<link>http://themeshaper.com/forums/topic/two-sites-same-child-theme-different-body-classes-huh#post-15636</link>
<pubDate>Thu, 16 Sep 2010 21:48:06 +0000</pubDate>
<dc:creator>perryb</dc:creator>
<guid isPermaLink="false">15636@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Just to throw something else into the mix, another site I'm working on:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://entosurveystest.daddylonglegsdesign.com/&#34; rel=&#34;nofollow&#34;&#62;http://entosurveystest.daddylonglegsdesign.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This one does have all the expected body classes - the kicker is that the child theme is the one that I copied to the axistest site mentioned in my previous post.&#60;/p&#62;
&#60;p&#62;The only thing I can think of that may be influencing this is that the axistest site has a database copied from an existing Wordpress site which isn't based on Thematic. Might this be causing the discrepancy?
&#60;/p&#62;</description>
</item>
<item>
<title>perryb on "Two sites, same child theme, different body classes. Huh?"</title>
<link>http://themeshaper.com/forums/topic/two-sites-same-child-theme-different-body-classes-huh#post-15635</link>
<pubDate>Thu, 16 Sep 2010 21:10:23 +0000</pubDate>
<dc:creator>perryb</dc:creator>
<guid isPermaLink="false">15635@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://109.123.70.46/&#34; rel=&#34;nofollow&#34;&#62;http://109.123.70.46/&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://axistest.daddylonglegsdesign.com/&#34; rel=&#34;nofollow&#34;&#62;http://axistest.daddylonglegsdesign.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Both these test sites have the latest trunk install of Thematic and identical child themes. The difference being that at the first link the body class comes out as expected as generated by Thematic:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;body class=&#38;quot;wordpress blogid-1 y2010 m09 d16 h21 singular slug-community-groups page pageid-25 page-author-perry page-parent page-comments-closed page-pings-closed loggedin windows firefox ff3&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;while the other site has the following body class (the Wordpress default body classes I think):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;body class=&#38;quot;home page page-id-58 page-template page-template-default logged-in class-name windows firefox ff3&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Everything else seems to be working as expected - I can probably work with this but it bothers me that it isn't working as it should be.&#60;/p&#62;
&#60;p&#62;Any ideas anyone?
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Latest SVN copy"</title>
<link>http://themeshaper.com/forums/topic/latest-svn-copy#post-15519</link>
<pubDate>Sat, 11 Sep 2010 13:46:17 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">15519@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;if you download the latest SVN copy, please make sure that you add the following two lines to your child theme's functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;THEMATIC_COMPATIBLE_BODY_CLASS&#38;#39;, true);
define(&#38;#39;THEMATIC_COMPATIBLE_POST_CLASS&#38;#39;, true);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This will enable the Thematic functions for creating body and post classes. Otherwise the WordPress functions will be used.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>awarner20 on "Add Body Class for WP User Login Error?"</title>
<link>http://themeshaper.com/forums/topic/add-body-class-for-wp-user-login-error#post-15504</link>
<pubDate>Fri, 10 Sep 2010 14:15:21 +0000</pubDate>
<dc:creator>awarner20</dc:creator>
<guid isPermaLink="false">15504@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Sorry it's been so ling since this reply...&#60;/p&#62;
&#60;p&#62;@em hr,&#60;/p&#62;
&#60;p&#62;I appreciate your correction here, my lack of syntax knowledge is easily seen;)&#60;/p&#62;
&#60;p&#62;Unfortunately this doesn't seem to be working either. My full code is below and the .login-error body class IS being added.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Cookie Handling */

      // Check if loggedin or login-error body class (login-error body class added
      // by function from em hr on Thematic forums)

          if ( $j(&#38;#39;body&#38;#39;).is(&#38;#39;.loggedin&#38;#39;) &#124;&#124; $j(&#38;#39;body&#38;#39;).is(&#38;#39;.login-error&#38;#39;) ) {
             // Logged in - set cookie if not set already, and display panel
                var show_panel = $j.cookie(&#38;#39;show_panel&#38;#39;);
                if (show_panel==&#38;#39;no&#38;#39;) {} else {
                    $j ( &#38;#39;#sliding-panel .panel&#38;#39; ).show();
                    $j ( &#38;#39;#sliding-panel .tab&#38;#39; ).addClass( &#38;#39;current&#38;#39; );
                    $j ( &#38;#39;#sliding-panel .toggle a.open&#38;#39; ).hide();
                    $j ( &#38;#39;#sliding-panel .toggle a.close&#38;#39; ).show();
                    $j.cookie(&#38;#39;show_panel&#38;#39;, &#38;#39;no&#38;#39;, { domain: &#38;#39;.fantech.net&#38;#39; });
                }

            } else {
                // Not logged in
                $j.cookie(&#38;#39;show_panel&#38;#39;, null, { domain: &#38;#39;.fantech.net&#38;#39; });
            }

        /* End Cookie Handling */&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The expected functionality of the panel staying open on successful login is there, but it still doesn't stay open upon login-error (even though this body class exists).&#60;/p&#62;
&#60;p&#62;I wonder if you have any further thoughts on why this logic isn't working?
&#60;/p&#62;</description>
</item>
<item>
<title>Thompson on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-14791</link>
<pubDate>Tue, 17 Aug 2010 22:58:18 +0000</pubDate>
<dc:creator>Thompson</dc:creator>
<guid isPermaLink="false">14791@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey Chris, Are there any new filters that might address these body classes?: &#60;/p&#62;
&#60;p&#62;page-author-xxxx  page-comments-open  page-pings-open
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Add Body Class for WP User Login Error?"</title>
<link>http://themeshaper.com/forums/topic/add-body-class-for-wp-user-login-error#post-14608</link>
<pubDate>Wed, 11 Aug 2010 04:22:02 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">14608@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;don't you mean to use:&#60;br /&#62;
&#60;code&#62;if ( $j(&#38;#39;body&#38;#39;).is(&#38;#39;.loggedin&#38;#39;) &#124;&#124; $j(&#38;#39;body&#38;#39;).is(&#38;#39;.login-error&#38;#39;) )&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>awarner20 on "Add Body Class for WP User Login Error?"</title>
<link>http://themeshaper.com/forums/topic/add-body-class-for-wp-user-login-error#post-14558</link>
<pubDate>Sun, 08 Aug 2010 22:06:34 +0000</pubDate>
<dc:creator>awarner20</dc:creator>
<guid isPermaLink="false">14558@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@ em hr,&#60;/p&#62;
&#60;p&#62;That is cool, and works a charm adding that to the body class! I added that function to my child theme's functions.php file. Viewing the source shows that the class has been added...&#60;br /&#62;
&#60;code&#62;&#38;lt;body class=&#38;quot;wordpress y2010...&#38;lt;content shortened&#38;gt;....login-error&#38;quot;&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I then went into the plugin's edited panel.js file and added (what I think) is the correct code:&#60;/p&#62;
&#60;p&#62;I changed this:&#60;br /&#62;
&#60;code&#62;if ($j(&#38;#39;body&#38;#39;).is(&#38;#39;.loggedin&#38;#39;)) {&#60;/code&#62;&#60;br /&#62;
to this:&#60;br /&#62;
&#60;code&#62;if ($j(&#38;#39;body&#38;#39;).is(&#38;#39;.loggedin&#38;#39;) &#124;&#124; ($j(&#38;#39;body&#38;#39;).is(&#38;#39;.login-error&#38;#39;)) {&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;...but so far, no luck.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Add Body Class for WP User Login Error?"</title>
<link>http://themeshaper.com/forums/topic/add-body-class-for-wp-user-login-error#post-14500</link>
<pubDate>Sat, 07 Aug 2010 02:34:11 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">14500@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This is pretty cool. I gave it a walkthrough. Try:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function e_body_class($classes) {
	global $myerrors; // Sidebar Login&#38;#39;s WP_Error variable 

	if ( is_wp_error($myerrors) ) {
		$classes[] = &#38;quot;login-error&#38;quot;;
	}

	return $classes;
}

add_filter(&#38;#39;body_class&#38;#39;,&#38;#39;e_body_class&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>awarner20 on "Add Body Class for WP User Login Error?"</title>
<link>http://themeshaper.com/forums/topic/add-body-class-for-wp-user-login-error#post-14382</link>
<pubDate>Wed, 04 Aug 2010 17:02:25 +0000</pubDate>
<dc:creator>awarner20</dc:creator>
<guid isPermaLink="false">14382@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;Ok, this is a wild probably, but hopefully someone can shed some light on what my next move should be. I have been tracking a solution for awhile and I think I'm getting closer to knowing what I need, but I'm not sure it's possible to achieve.&#60;/p&#62;
&#60;p&#62;In short - I have some code now checking for a body class of &#34;loggedin&#34;. I need this code to also check for a body class of &#34;loginerror&#34;. I think Thematic is assigning the &#34;loggedin&#34; body class as I see this line in the dynamic-class.php file.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// For when a visitor is logged in while browsing
	if ( $current_user-&#38;gt;ID )
		$c[] = &#38;#39;loggedin&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Is there a way to add a body class for &#34;loginerror&#34;? I am making an assumption that if I can create that body class, I can filter the body class function to add it, and then add a check for that into the code I referenced in the beginning.&#60;/p&#62;
&#60;p&#62;Curious about what I'm trying to do? Read more here:&#60;br /&#62;
&#60;a href=&#34;http://www.wptavern.com/forum/plugins-hacks/1825-advice-jquery-cookie-customization-sliding-panel-plugin.html#post17931&#34; rel=&#34;nofollow&#34;&#62;http://www.wptavern.com/forum/plugins-hacks/1825-advice-jquery-cookie-customization-sliding-panel-plugin.html#post17931&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You'll see my path as I was troubleshooting this solution...which led me to Thematic assigning the body classes :)&#60;/p&#62;
&#60;p&#62;Any advice would be greatly appreciated...
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Using 2 body classes"</title>
<link>http://themeshaper.com/forums/topic/using-2-body-classes#post-12355</link>
<pubDate>Thu, 13 May 2010 02:24:07 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">12355@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#34;For the benefit of anyone wanting to punish themselves&#34;  classic!  i like the idea of a huge popup that says &#34;hey upgrade to a browser from this decade!&#34;.. or something similar.  &#60;/p&#62;
&#60;p&#62;do you have any idea what the market share of IE6 is?  For my own sites I can't be bothered by IE6, but is it still worth it for professional sites?
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Using 2 body classes"</title>
<link>http://themeshaper.com/forums/topic/using-2-body-classes#post-12350</link>
<pubDate>Thu, 13 May 2010 00:26:29 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">12350@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;For the benefit of anyone wanting to punish themselves with support for IE6. IE6 will only respect declarations for the last class in a gouping of multiple classes for a single element. &#60;/p&#62;
&#60;p&#62;So for &#60;code&#62;div class=&#38;quot;hentry content wide-col logged-in&#38;quot;&#60;/code&#62;  ie6 will only apply styles declared for the final class in the stack in this case  &#60;code&#62;.logged-in&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It is for this reason that Thematic's dynamic body class function applies browser version specific classes and ie6 last in the stack for the body classes. &#60;/p&#62;
&#60;p&#62;If you're using Thematic and need to debug CSS for IE6 you can use the &#60;code&#62;.ie6&#60;/code&#62; body class to give you a &#34;more specific ancestor&#34; as mentioned in the stackoverflow discussion that Devin linked above.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Using 2 body classes"</title>
<link>http://themeshaper.com/forums/topic/using-2-body-classes#post-12348</link>
<pubDate>Wed, 12 May 2010 23:56:16 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">12348@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;awesome, thanks devin.  i thought it had to be something relatively simple.  &#60;/p&#62;
&#60;p&#62;and can IE6 just die already?
&#60;/p&#62;</description>
</item>
<item>
<title>Devin on "Using 2 body classes"</title>
<link>http://themeshaper.com/forums/topic/using-2-body-classes#post-12347</link>
<pubDate>Wed, 12 May 2010 22:13:10 +0000</pubDate>
<dc:creator>Devin</dc:creator>
<guid isPermaLink="false">12347@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Most browsers accept double classes (ie6, always the exception: &#60;a href=&#34;http://stackoverflow.com/questions/312022/use-double-classes-in-ie6-css&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/312022/use-double-classes-in-ie6-css&#60;/a&#62;).&#60;/p&#62;
&#60;p&#62;You'd do it like (no space in between):&#60;/p&#62;
&#60;p&#62;.home.page #content {}&#60;/p&#62;
&#60;p&#62;I pasted the body classes for each to do a test:&#60;/p&#62;
&#60;p&#62;wordpress blogid-1 y2010 m05 d12 h22 home blog not-singular loggedin mac firefox ff3&#60;/p&#62;
&#60;p&#62;wordpress blogid-1 y2010 m05 d12 h22 home singular slug-about page pageid-2 page-author-devin page-parent page-comments-open page-pings-open loggedin mac firefox ff3&#60;/p&#62;
&#60;p&#62;It looks as though the &#34;blog&#34; class is unique to the blog layout vs. a selected front page.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Using 2 body classes"</title>
<link>http://themeshaper.com/forums/topic/using-2-body-classes#post-12345</link>
<pubDate>Wed, 12 May 2010 20:09:28 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">12345@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Can I use multiple body classes in my css?  This doesn't seem to work for me.  I'd like to have css that targets the home page only if it is a static page... and so not if it is the default blog index.  Basically on a static home page I will remove the widget asides and go full width, but leave the asides in place for a blog.  I thought that:&#60;/p&#62;
&#60;p&#62;.home .page #content {&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;would let me control the #content on a static home page, but no luck.  Same w/ .page .home.  &#60;/p&#62;
&#60;p&#62;any insight on to how to tackle this? Should I just apply a template to be able to use that body class?  Seems unnecessary otherwise.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-8137</link>
<pubDate>Sun, 29 Nov 2009 21:04:20 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">8137@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Btw. .. these filters will prevent the creation of the information. Using these filters, in case that you don't need a certain body class to style your blog, will speed up your blog.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-8136</link>
<pubDate>Sun, 29 Nov 2009 21:01:40 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">8136@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ok .. the first filters are ready to be tested:&#60;/p&#62;
&#60;p&#62;thematic_show_bodyclass -&#38;gt; add a filter and return FALSE to switch off the bodyclass&#60;/p&#62;
&#60;p&#62;thematic_show_bc_wordpress -&#38;gt; add a filter and return FALSE to switch off 'wordpress'&#60;/p&#62;
&#60;p&#62;thematic_show_bc_datetime -&#38;gt; add a filter and return FALSE to switch off the generic date / time classes&#60;/p&#62;
&#60;p&#62;thematic_show_bc_singular -&#38;gt; add a filter and return FALSE to switch off 'singular' / 'not-singular'&#60;/p&#62;
&#60;p&#62;thematic_show_bc_singlepost -&#38;gt; add a filter and return FALSE to switch off all single post classes&#60;/p&#62;
&#60;p&#62;thematic_show_bc_authorarchives -&#38;gt; add a filter and return FALSE to switch off the author archive classes&#60;/p&#62;
&#60;p&#62;thematic_show_bc_categoryarchives -&#38;gt; add a filter and return FALSE to switch off the category archive classes&#60;/p&#62;
&#60;p&#62;thematic_show_bc_tagarchives -&#38;gt; add a filter and return FALSE to switch off the tag archive classes&#60;/p&#62;
&#60;p&#62;thematic_show_bc_pages -&#38;gt; add a filter and return FALSE to switch off classes for pages&#60;/p&#62;
&#60;p&#62;thematic_show_bc_search -&#38;gt; add a filter and return FALSE to switch off the search classes&#60;/p&#62;
&#60;p&#62;thematic_show_bc_loggedin -&#38;gt; add a filter and return FALSE to switch off 'loggedin' / 'not-loggedin'&#60;/p&#62;
&#60;p&#62;thematic_show_bc_pagex -&#38;gt; add a filter and return FALSE to switch off the Page x classes&#60;/p&#62;
&#60;p&#62;thematic_show_bc_browser -&#38;gt; add a filter and return FALSE to switch off the browser classes&#60;/p&#62;
&#60;p&#62;That's it for today :) .. these are the generic things, the grouped stuff will follow next week.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>defries on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-8134</link>
<pubDate>Sun, 29 Nov 2009 20:35:40 +0000</pubDate>
<dc:creator>defries</dc:creator>
<guid isPermaLink="false">8134@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;That's good to know :) Sehr gut, danke.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-8133</link>
<pubDate>Sun, 29 Nov 2009 18:04:26 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">8133@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Currently working on this!&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>defries on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-8132</link>
<pubDate>Sun, 29 Nov 2009 12:54:04 +0000</pubDate>
<dc:creator>defries</dc:creator>
<guid isPermaLink="false">8132@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Any news on this?
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "How do you use dynamically generated CSS classes?"</title>
<link>http://themeshaper.com/forums/topic/how-do-you-use-dynamically-generated-css-classes#post-6699</link>
<pubDate>Thu, 24 Sep 2009 19:39:39 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6699@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Gene,&#60;/p&#62;
&#60;p&#62;thanks a lot for your help! :)&#60;/p&#62;
&#60;p&#62;Let me finish the new widgetized area functionality - still need to tweak the footer - and I'll start this part. &#60;/p&#62;
&#60;p&#62;The idea is to provide a switch and a filter for each group. The switch will prevent the creation completely and save some time.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>

</channel>
</rss>
