-
{{post.title}}
-
-
{{post.date}}
-
{{ function('pll_e', 'время чтения') }}: {{post.reading_time}}
-
- {% if post.get_author_name %}
- -
-
-
-
- {% endif %}
-
+
+ {% for post in posts %}
+
+
+
+
+
+
+
+
{{post.title}}
+
+
{{post.date}}
+
{{ function('pll_e', 'время чтения') }}: {{post.reading_time}}
+
+ -
+
+ {{ function('get_post_likes_count', post.ID) }}
+
+ -
+
+ {{ post.comment_count }}
+
+ {% if post.get_author_name %}
+ -
+
+
+ {% endif %}
+
+
-
-
-{% endfor %}
\ No newline at end of file
+
+ {% endfor %}
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/templates/blog_author/author-archive.twig b/wp-content/themes/cosmopet/templates/blog_author/author-archive.twig
new file mode 100644
index 0000000..86fb50f
--- /dev/null
+++ b/wp-content/themes/cosmopet/templates/blog_author/author-archive.twig
@@ -0,0 +1,60 @@
+{% extends 'layout.twig' %}
+
+
+{% block content %}
+
+{% set current_path = template_path ~ '/modules/author/' %}
+
+
+
+
+
+
+
+
+
+
+
+
{{ function('pll_e', 'Все авторы') }}
+
+
+
+
+
+
+ {% include 'forms/discount.twig' %}
+
+
+
+ {% include '/blog/featured-slider.twig' %}
+
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/templates/blog_author/author-posts-list.twig b/wp-content/themes/cosmopet/templates/blog_author/author-posts-list.twig
new file mode 100644
index 0000000..bc77a01
--- /dev/null
+++ b/wp-content/themes/cosmopet/templates/blog_author/author-posts-list.twig
@@ -0,0 +1,36 @@
+{% for post in posts %}
+
+
+
+
+
+
+
{{ post.title }}
+
+
{{ post.date|date('d.m.Y') }}
+
{{ function('pll_e', 'время чтения:') }} {{ post.reading_time|default(function('pll_e', '5 мин.')) }}
+
+ {% if post.get_author_img %}
+ -
+
+
+ {% endif %}
+ -
+
+ {{ function('get_post_likes_count', post.ID) }}
+
+ -
+
+ {{ post.comment_count }}
+
+
+
+
+
+{% endfor %}
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/templates/blog_author/author-single.twig b/wp-content/themes/cosmopet/templates/blog_author/author-single.twig
new file mode 100644
index 0000000..62db865
--- /dev/null
+++ b/wp-content/themes/cosmopet/templates/blog_author/author-single.twig
@@ -0,0 +1,92 @@
+{% set current_path = template_path ~ '/modules/blog/components/news-list' %}
+
+{% extends 'layout.twig' %}
+
+{% block content %}
+
+
+
+
+
+
+
+
+
+
+
 }})
+
+
+
{{ author.title }}
+
{{ author.position }}
+
{{ author.content|striptags }}
+
{{ function('pll_e', 'статей:') }} {{ author.post_count }}
+
+
+
{{ author.meta('headline')|default(function('pll_e', 'Посты автора')) }}
+
+
+
+
+
+
+
+ {% for post in author.posts %}
+ -
+
+
+
+
+
+
{{ post.title }}
+
+
{{ post.date|date('d.m.Y') }}
+
{{ function('pll_e', 'время чтения:') }} {{ post.reading_time|default(function('pll_e', '5 мин.')) }}
+
+ {% if post.get_author_img %}
+ -
+
+
+ {% endif %}
+ -
+
+ {{ function('get_post_likes_count', post.ID) }}
+
+ -
+
+ {{ post.comment_count }}
+
+
+
+
+
+ {% else %}
+ - {{ function('pll_e', 'Нет постов') }}
+ {% endfor %}
+
+ {% if total_pages > 1 %}
+
+ {% endif %}
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/templates/comment/comment.twig b/wp-content/themes/cosmopet/templates/comment/comment.twig
new file mode 100644
index 0000000..105a8af
--- /dev/null
+++ b/wp-content/themes/cosmopet/templates/comment/comment.twig
@@ -0,0 +1,32 @@
+
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/templates/forms/discount.twig b/wp-content/themes/cosmopet/templates/forms/discount.twig
new file mode 100644
index 0000000..d3acd3b
--- /dev/null
+++ b/wp-content/themes/cosmopet/templates/forms/discount.twig
@@ -0,0 +1,36 @@
+
+
+
+
{{sub_title}}
+
+
+

+

+
+
+
+
+
+
+ {{ function('pll_e', 'Подписываясь на рассылку, я даю согласие на обработку персональных данных, на получение рекламных сообщений и новостей о товарах и услугах') }}
+
{{sub_text}}
+
+
+
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/templates/front-page/front-page.twig b/wp-content/themes/cosmopet/templates/front-page/front-page.twig
index 430cdac..9aa23d4 100644
--- a/wp-content/themes/cosmopet/templates/front-page/front-page.twig
+++ b/wp-content/themes/cosmopet/templates/front-page/front-page.twig
@@ -609,42 +609,7 @@
-
+ , +
+