у меня проблема с использованием функции wp_head () в WordPress - PullRequest
0 голосов
/ 26 мая 2019

Я разработал тему для WP CMS, когда я использую wp_head в файле header.php , я вижу проблему в использовании Contact From 7 plugin.

все поля, созданные контактной формой 7, none display на страницах, в то время как все теги "input" имеют стиль в таблице стилей style.css.

<head>
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title><?php if (is_home () ) {bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
 elseif (is_single() ) { single_post_title(); }
 elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
 else { wp_title('',true); } ?></title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/style.css">
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/media.css">
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/animate.css">

    <script src='<?php bloginfo('template_url'); ?>/js/jquery.min.js'></script>
    <script src='<?php bloginfo('template_url'); ?>/js/bootstrap.min.js'></script>

    <?php wp_head(); ?>

</head>
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...