Skip to content

Instantly share code, notes, and snippets.

@vlat456
Created February 17, 2019 13:18
Show Gist options
  • Save vlat456/efe08c37afd5738ab2a6edeea628c376 to your computer and use it in GitHub Desktop.
Save vlat456/efe08c37afd5738ab2a6edeea628c376 to your computer and use it in GitHub Desktop.
doctype html
html
head
title <?php bloginfo(); wp_title(); ?>
meta name="viewport" content="width=device-width, initial-scale=1"
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=edge"
<?php wp_head(); ?>
link rel="stylesheet" href="https://fonts.googleapis.com css?family=Open+Sans:300,400,700"
| <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"><![endif]-->
body
#main
header
#navbar.container
div
a href="/"
img.logo src="/wp-content/themes/XXXXX/img/logo.png" alt="logotype"
ul
li a href="/" Главная
li a href="/programmy/">Продукты
li Акции!
li a href="/vse-statji/">Статьи
li a href="/priobresti/">Магазин
li a href="/kontakty-o-nas/">Контакты
|
<?php if (is_front_page()) {
get_template_part('partials/_main_advert');
}
?>
<?php if (!is_front_page()) {
get_template_part('partials/_breadcrumbs');
} ?>
.container#content ___CONTENT___
footer
.container
.footer_vbox
h3 Новые разработки
ul
li El Ray
li Taupe
li Item
li Item
.footer_vbox
h3 Свежие статьи
ul
| <?php get_template_part('partials/_last_posts_footer'); ?>
.footer_vbox
h3 Информация
ul
li a href="/kontakty-o-nas/">Контактная информация
li a href="/tos/">Пользовательское соглашение
li a href="/confidential/">Политика конфиденциальности
.footer_vbox
h3 a href="http://XXXXX">Старая версия сайта
.footer_vbox
ul
li#mailchimp_subscribe
<h3>Подписка на новости</h3>
| <?php get_template_part('partials/_mailchimp_subscribe_footer'); ?>
li#socicons
| <?php get_template_part('partials/_socicons'); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment