<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Add Custom Body Class to WP Thesis'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 20:05:41 GMT</pubDate>
<item>
<title>joelhaus said on 11/16/09</title>
<link>http://snipplr.com/view/20747/add-custom-body-class-to-wp-thesis/</link>
<description><![CDATA[ An even better method using WP's native body_class:
(via: http://diythemes.com/forums/bug-reports/17306-thesis-breaks-wp-body_class-function.html)

function my_body_class( $class = '' ) {
    // Separates classes with a single space, collates classes for body element
    echo ' class="' . join( ' ', get_body_class( $class ) ) . '"';
}

add_filter('thesis_body_classes','my_body_class'); ]]></description>
<pubDate>Mon, 16 Nov 2009 22:33:26 GMT</pubDate>
<guid>http://snipplr.com/view/20747/add-custom-body-class-to-wp-thesis/</guid>
</item>
</channel>
</rss>