Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 为什么WordPress获胜';不允许我在我的网站或主题的标题中添加此DIV?_Html_Css_Wordpress - Fatal编程技术网

Html 为什么WordPress获胜';不允许我在我的网站或主题的标题中添加此DIV?

Html 为什么WordPress获胜';不允许我在我的网站或主题的标题中添加此DIV?,html,css,wordpress,Html,Css,Wordpress,在WordPress中,我使用了一个名为“卓有成效”(fully)的主题,它没有搜索栏,所以我在这里尝试的是让主题在标题区域显示一个div,这样我以后就可以将它放在搜索功能中;但由于某些原因,它不会出现在浏览器中,甚至在我检查Chrome中的标题时也不会出现在代码中 下面是名为header.php的文件中的相关代码: <div class="head-container resp_full_width_menu"> <div class=

在WordPress中,我使用了一个名为“卓有成效”(fully)的主题,它没有搜索栏,所以我在这里尝试的是让主题在标题区域显示一个div,这样我以后就可以将它放在搜索功能中;但由于某些原因,它不会出现在浏览器中,甚至在我检查Chrome中的标题时也不会出现在代码中

下面是名为header.php的文件中的相关代码:

<div class="head-container resp_full_width_menu">
                    <div class="container ">
                        <div class="sixteen columns">
                            <header id="masthead" class="site-header" role="banner">
                                <?php   
                                    if (fruitful_is_social_header()) { 
                                        fruitful_get_socials_icon(); 
                                    }    
                                ?>
                                <div data-originalstyle="<?php echo $logo_pos_class; ?>" class="header-hgroup <?php echo $logo_pos_class; ?>">  
                                    <?php echo fruitful_get_logo(); ?>
                                </div>  
                                <div data-originalstyle="<?php echo $menu_pos_class; ?>" class="menu-wrapper <?php echo $menu_pos_class; ?>">
                                    <?php fruitful_get_languages_list(); ?>
                                    <?php fruitful_get_cart_button_html(); ?>

                                    <nav role="navigation" class="site-navigation main-navigation">
                                        <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
                                    </nav><!-- .site-navigation .main-navigation -->
                                </div>

                                <div id="search_main"></div>
                            </header><!-- #masthead .site-header -->


请检查是否安装了任何捕获插件(如果有),然后停用并检查。请检查是否安装了任何捕获插件(如果有),然后停用并检查。