/ Published in: PHP
URL: http://diythemes.com/forums/bug-reports/17306-thesis-breaks-wp-body_class-function.html
In v1.6, the Thesis Theme has a bug which removes a necessary space in the HTML body tag if you add a filter targeting the thesisbodyclasses hook. To get the native WP body_class function to work, use this code:
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.

To get the native WP body_class function in Thesis v1.7, use the following code: It gets the bodyclass array, and adds it to the $classes array the classes one by one. There might be other 'more efficient' solutions out there, but it works :)
Note - the above works on v1.8.