轮翻文件路径:

/ripro/parts/home-mode/search.php

直接复制文档里面的代码替换slider里面的代码

修改后的效果

2019-11-11T15:45:11.png

<?php
$mode_search = _cao('mode_search');
$image = $mode_search['bgimg'];
$categories = get_categories( array('hide_empty' => 0) );//获取所有分类
$home_search_mod = _cao('home_search_mod');
?>
<div class="section">
          <div class="container">
            <div class="row">
                <div class="home-filter--content" data-bg="">
                    <form class="mb-0" method="get" autocomplete="off" action="<?php echo home_url(); ?>">
                        <div class="form-box search-properties mb-0">
                            <div class="row">
                                <div class="col-xs-12 col-sm-6 col-md-9">
                                    <div class="form-group mb-0">
                                        <input type="text" class="home_search_input" name="s" placeholder="TuaoShe.Com 请输入关键词搜索...">
                                    </div>
                                </div>
                                
                                <div class="col-xs-12 col-sm-6 col-md-3">
                                    <input type="submit" value="搜索" class="button transparent">
                                </div>
                            </div>
                            
                             <div class="home-search-results"></div>
                             <!-- .row end -->
                        </div>
                        <!-- .form-box end -->
                    </form>
                </div>
        </div>
    </div>
</div><div class="section">
Last modification:November 11th, 2019 at 11:48 pm
如果觉得我的文章对你有用,请随意赞赏