function test_thematic_unavailable_layout_different_default()
 {
     add_filter('thematic_current_theme_layout', array($this, 'unavailable_layout'));
     add_filter('thematic_default_theme_layout', array($this, 'switch_layout'));
     $this->theme_options['layout'] = apply_filters('thematic_default_theme_layout', $this->theme_options['layout']);
     $body_classes = thematic_body_class(array());
     $this->assertNotContains('wacko', $body_classes);
     $this->assertContains('left-sidebar', $body_classes);
 }
function thematic_bodyopen()
{
    if (apply_filters('thematic_show_bodyclass', TRUE)) {
        // Creating the body class
        if (!THEMATIC_COMPATIBLE_BODY_CLASS) {
            echo '<body lang="en" ';
            body_class();
            echo '>' . "\n\n";
        } else {
            echo '<body class="';
            thematic_body_class();
            echo '">' . "\n\n";
        }
    } else {
        echo '<body lang="en">' . "\n\n";
    }
}
Example #3
0
thematic_create_contenttype();
thematic_show_description();
thematic_show_robots();
thematic_canonical_url();
thematic_create_stylesheet();
thematic_show_rss();
thematic_show_commentsrss();
thematic_show_pingback();
thematic_show_commentreply();
wp_head();
?>

</head>

<body onload="vam_initialise();" class="<?php 
thematic_body_class();
?>
">
<?php 
thematic_before();
?>

<div id="wrapper" class="hfeed">

<?php 
thematic_aboveheader();
?>
   

    <div id="header">
        <?php