/ Published in: PHP

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 thesis_body_classes hook. To get the native WP body_class function to work, use this code:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function my_body_class( $class = '' ) { // Separates classes with a single space, collates classes for body element } add_filter('thesis_body_classes','my_body_class');
URL: http://diythemes.com/forums/bug-reports/17306-thesis-breaks-wp-body_class-function.html
Comments
