add files
This commit is contained in:
27
tag.php
Normal file
27
tag.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main class="main">
|
||||
<div class="maintitle">
|
||||
<h1>#<?php single_tag_title(); ?></h1>
|
||||
<div class="h-telega"><a href="https://t.me/sportpressa" target="_blank">@sportpressa</a></div>
|
||||
<?php if (tag_description()) : ?>
|
||||
<div class="tag-description">
|
||||
<?php echo tag_description(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php get_template_part('template-parts/content', 'cards'); ?>
|
||||
|
||||
<?php
|
||||
// Пагинация
|
||||
the_posts_pagination(array(
|
||||
'mid_size' => 2,
|
||||
'prev_text' => '« Предыдущая',
|
||||
'next_text' => 'Следующая »',
|
||||
));
|
||||
?>
|
||||
</main>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user