public function wrapperClass($classes = [])
    {
        $classes = !is_array($classes) ? explode(' ', $classes) : $classes;
        $classes[] = 'wrapper';
        $classes[] = sprintf('template-%s', $this->template);

        if (is_active_sidebar(sprintf('sidebar-%s', $this->template))) {
            $classes[] = 'active-sidebar';
        }

        if (has_nav_menu('main-menu')) {
            $classes[] = 'active-main-menu';
        }

        if (is_active_sidebar('header-widgets')) {
            $classes[] = 'active-header-widgets';
        }

        $i = 0;
        if (is_active_sidebar('footer-one')) $i++;
        if (is_active_sidebar('footer-two')) $i++;
        if (is_active_sidebar('footer-three')) $i++;
        if (is_active_sidebar('footer-four')) $i++;

        switch ($i) {
            case 1:
                $classes[] = 'active-footers-one';
                break;
            case 2:
                $classes[] = 'active-footers-two';
                break;
            case 3:
                $classes[] = 'active-footers-three';
                break;
            case 4:
                $classes[] = 'active-footers-four';
                break;
            default:
                break;
        }

        $classes = apply_filters('novusopress_view_wrapper_classes', $classes);
        $output = sprintf('class="%s"', implode(' ', $classes));

        return apply_filters('novusopress_view_wrapper_class_output', $output);
    }