@furcifer

Как подключить стили к WordPress?

Доброго времени суток!! Возникла проблема в подключении стилей и скриптов к ВП.

подключаются оснвные стили style.css, иконки font awesome и иконка favicon.png. Что не так не могу понять, скрипты, бутстрап и медаиа css не подключаются. Подскажите пожайлуста, не вижу((

<!DOCTYPE html>
<html <?php language_attributes();?>>
    <head>
		<meta charset="<?php bloginfo('charset')?>">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,700" rel="stylesheet">
		<link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/css/font-awesome.min.css"/>
	    <link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/css/bootstrap.css">
	   	<link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/style.css">
		<link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/css/media.css" type="text/css">
		<link rel="shortcut icon" href="<?php bloginfo('template_directory') ?>/img/favicon.png" type="image/png">
		<title>тест</title>
		<script  src="https://code.jquery.com/jquery-1.9.1.js"></script>
		<script type="text/javascript" src="<?php bloginfo('template_directory') ?>/js/script.js"></script>
		<?php wp_head();?>
	</head>
  • Вопрос задан
  • 489 просмотров
Решения вопроса 1
wppanda5
@wppanda5 Куратор тега WordPress
WordPress Mедведь
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы