Пример #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
" 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-angle-right"></i></span>
                        </h4>
                        <div class="vertical-menu-content">
                            <?php 
    kt_setting_vertical_menu();
    ?>
                            <div class="all-category"><span data-open_text="<?php 
    _e('View more', 'kutetheme');
    ?>
" data-close_text="<?php 
    _e('Close', 'kutetheme');
    ?>
" class="open-cate"><?php 
    _e('View more', 'kutetheme');
    ?>
</span></div>
                        </div>
                    </div>
                </div>
            </div>
Пример #3
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);
        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 
        }
    }