maksidrom
Ответы в темах
-
Форум: Проблемы и решения
Тема: Вывод комментариеА вызов файла comments.php с помощью wp_list_commen?
Форум: Проблемы и решения
Тема: Вывод комментариеЭто понятно! Я не могу понять как мне в определённые теги вывести определённые данные автор, время и сам комментарий
Форум: Проблемы и решения
Тема: Как вывести анонс статей?То-есть вывод анонсов, это не правильно?
Форум: Проблемы и решения
Тема: Как вывести анонс статей?А как вообще на странице page.php вывести все статьи?
Форум: Проблемы и решения
Тема: Не открывается файл стилейОтдельное спасибо denisco
Форум: Проблемы и решения
Тема: Не открывается файл стилейВсем спасибо проблема решена с помощью http://underscores
Форум: Проблемы и решения
Тема: Не открывается файл стилейТак вот и я про тоже, в исходном коде типа стили нормально подключены,бред какой-то))) Попробую поискать
Форум: Проблемы и решения
Тема: Не открывается файл стилейНи каких изменений, тоже самое
Форум: Проблемы и решения
Тема: Не открывается файл стилей<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Bootstrap 101 Template</title> <link rel="stylesheet" href="<?bloginfo( 'template_directory' );?>" type="text/css" /> <link rel="stylesheet" href="<?bloginfo( 'template_directory' );?>/css/style.css" type="text/css" /> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <?php wp_head(); ?> </head> <body> <div class="container"> <div class="row"> <header class="col-md-12"> <!-- <img src="logo.jpg" height="150" width="800"> --> <div class="top-menu"> <ul class="nav nav-tabs"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> <form> <input type="search" placeholder="Поиск..."> <button type="button" class="btn-form"><span class="glyphicon glyphicon-search"></span></button></form> </header>
footer.php
<footer class="col-md-12"> <hr> </footer> </div></div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> <?php wp_footer();?> </body> </html>
functions.php
function wptuts_styles_with_the_lot() { // Register the style like this for a plugin: wp_enqueue_style( 'my-custom-style', get_template_directory_uri() . '/css/style.css' ); // or wp_enqueue_style( 'custom-style' ); } add_action( 'wp_enqueue_scripts', 'wptuts_styles_with_the_lot' );
Форум: Проблемы и решения
Тема: Не открывается файл стилейНу вот файл создал открывается http://ogranicheniy-no.ru/wp-content/themes/My_themy/test.txt
Форум: Проблемы и решения
Тема: Не открывается файл стилейУверен на 1000% у меня один сайт
Форум: Проблемы и решения
Тема: Не открывается файл стилейheader.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Bootstrap 101 Template</title> <link rel="stylesheet" href="<?bloginfo( 'template_directory' );?>" type="text/css" /> <link rel="stylesheet" href="<?bloginfo( 'template_directory' );?>/css/style.css" type="text/css" /> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <?php wp_head(); ?> </head> <body> <div class="container"> <div class="row"> <header class="col-md-12"> <!-- <img src="logo.jpg" height="150" width="800"> --> <div class="top-menu"> <ul class="nav nav-tabs"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> <form> <input type="search" placeholder="Поиск..."> <button type="button" class="btn-form"><span class="glyphicon glyphicon-search"></span></button></form> </header>
footer.php
<footer class="col-md-12"> <hr> </footer> </div></div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> <?php wp_footer();?> </body> </html>
Форум: Проблемы и решения
Тема: Не открывается файл стилейНет создал вроде правильно разбил на файлы активировал ошибок нет. Вот header.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Bootstrap 101 Template</title> <link rel="stylesheet" href="<?bloginfo( 'template_directory' );?>" type="text/css" /> <?php wp_head(); ?> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="row"> <header class="col-md-12"> <!-- <img src="logo.jpg" height="150" width="800"> --> <div class="top-menu"> <ul class="nav nav-tabs"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> </ul> <form> <input type="search" placeholder="Поиск..."> <button type="button" class="btn-form"><span class="glyphicon glyphicon-search"></span></button></form> </header>
вот footer.php
<footer class="col-md-12"> <hr> </footer> </div></div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> </body> </html> </body> </html>
js файлы сейчас пока не нужны
Форум: Проблемы и решения
Тема: Не открывается файл стилейБесполезно
Форум: Проблемы и решения
Тема: Не открывается файл стилейСайт для инвалидов делаю. Сам учусь, помогите подключить эти долбанные стили)))