예제 #1
0
    function kt_show_vertical_menu_option_7()
    {
        global $kt_enable_vertical_menu;
        $kt_click_open_vertical_menu = kt_option('kt_click_open_vertical_menu', 'disable');
        $kt_vertical_item_visible = kt_option('kt_vertical_item_visible', 11);
        ?>
    <div class="top-main-menu style7">
        <?php 
        if ($kt_enable_vertical_menu == 'enable') {
            ?>
        <div id="box-vertical-megamenus" class="vertical-wapper">
            <div data-items="<?php 
            echo esc_attr($kt_vertical_item_visible);
            ?>
" class="box-vertical-megamenus <?php 
            if ($kt_click_open_vertical_menu == "enable") {
                echo esc_attr('hiden_content');
            }
            ?>
">
                <h4 class="title">
                    <span class="title-menu"><?php 
            _e('Categories', 'kutetheme');
            ?>
</span>
                    <span class="btn-open-mobile home-page"><i class="fa fa-bars"></i></span>
                </h4>
                <div class="vertical-menu-content">
                    <?php 
            kt_setting_vertical_menu();
            ?>
                    <div class="all-category"><span data-open_text="<?php 
            _e('All Categories', 'kutetheme');
            ?>
" data-close_text="<?php 
            _e('Close', 'kutetheme');
            ?>
" class="open-cate"><?php 
            esc_html_e('All Categories', 'kutetheme');
            ?>
</span></div>
                </div>
            </div>
        </div>
        <?php 
        }
        ?>
        <div class="main-menu main-menu-wapper">
            <div class="formsearch-option4">
                <?php 
        kt_search_form();
        ?>
            </div>
        </div>
    </div>
    <?php 
    }
예제 #2
0
    </div>
    <!--/.top-header -->
    <!-- MAIN HEADER -->
    <div class="container main-header">
        <div class="row">
            <div class="col-xs-12 col-sm-3 logo">
                <?php 
echo kt_get_logo();
?>
            </div>
            <div class="header-search-box <?php 
echo kt_is_wc() ? 'col-xs-7 col-sm-7' : 'col-xs-9';
?>
">
                <?php 
kt_search_form();
?>
            </div>
            <?php 
if (kt_is_wc()) {
    do_action('kt_mini_cart');
}
?>
        </div>
    </div>
    <!-- END MANIN HEADER -->
    <div id="nav-top-menu" class="nav-top-menu">
        <div class="container">
            <?php 
do_action('kt_show_menu_option_1');
?>
예제 #3
0
파일: theme.php 프로젝트: hikaram/wee
    function kt_show_vertical_menu_option_7()
    {
        global $kt_enable_vertical_menu;
        $kt_click_open_vertical_menu = kt_option('kt_click_open_vertical_menu', 'disable');
        $kt_vertical_item_visible = kt_option('kt_vertical_item_visible', 11);
        if ($kt_enable_vertical_menu == 'enable') {
            ?>
        <div class="nav-top-menu enable_vm">
            <div class="container">
                <div class="row">
                    <div class="col-sm-3" id="box-vertical-megamenus">
                        <div data-items="<?php 
            echo esc_attr($kt_vertical_item_visible);
            ?>
" class="box-vertical-megamenus <?php 
            if ($kt_click_open_vertical_menu == "enable") {
                echo esc_attr('hiden_content');
            }
            ?>
">
                            <h4 class="title">
                                <span class="btn-open-mobile home-page"><i class="fa fa-bars"></i></span>
                                <span class="title-menu"><?php 
            _e('Categories', 'kutetheme');
            ?>
</span>
                            </h4>
                            <div class="vertical-menu-content is-home">
                                <?php 
            kt_setting_vertical_menu();
            ?>
                                <div class="all-category"><span class="open-cate"><?php 
            esc_html_e('All Categories', 'kutetheme');
            ?>
</span></div>
                            </div>
                        </div>
                    </div>
                    <?php 
            if (kt_is_wpml()) {
                ?>
                        <div class="col-sm-5 col-md-6 col-lg-7 formsearch-option4">
                            <?php 
                kt_search_form();
                ?>
                        </div>
                        <div class="col-sm-4 col-md-3 col-lg-2 group-link-main-menu">
                            <?php 
                echo kt_get_wpml();
                ?>
                        </div>
                    <?php 
            } else {
                ?>
                        <div class="col-sm-5 col-md-9 col-lg-9 formsearch-option4">
                            <?php 
                kt_search_form();
                ?>
                        </div>
                    <?php 
            }
            ?>
                </div>
            </div>
        </div>
    <?php 
        } else {
            ?>
        <div class="nav-top-menu disable_vm">
            <div class="container">
                <div class="row">
                    <?php 
            if (kt_is_wpml()) {
                ?>
                        <div class="col-sm-8 col-md-9 col-lg-9 formsearch-option4">
                            <?php 
                kt_search_form();
                ?>
                        </div>
                        <div class="col-sm-4 col-md-3 col-lg-3 group-link-main-menu">
                            <?php 
                echo kt_get_wpml();
                ?>
                        </div>
                    <?php 
            } else {
                ?>
                        <div class="col-sm-12 formsearch-option4">
                            <?php 
                kt_search_form();
                ?>
                        </div>
                    <?php 
            }
            ?>
                </div>
            </div>
        </div>
    <?php 
        }
    }