RP_Rave1_theme/category.php

70 lines
2.4 KiB
PHP
Raw Permalink Normal View History

2024-11-06 10:10:48 +00:00
<?php get_header() ?>
<div class="page-heading area">
<ul class="circles">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<div class="page-heading__inner">
<div class="container">
<h1 class="page-heading__title"><?php _e('Kategória Archívum:', 'sandbox') ?> <span><?php single_cat_title() ?></h1>
<div class="breadcrumb breadcrumb-item active"><?php if (function_exists('get_breadcrumb')) {
get_breadcrumb();
} ?></div>
</div>
</div>
</div>
<main class="site-content">
<div class="section-content">
<div class="container">
<div class="content col-md-12">
<?php while (have_posts()) : the_post() ?>
<div class="post">
<figure class="post__thumb">
<?php the_post_thumbnail(); ?>
</figure>
<div class="post__body box">
<header class="post__header">
<ul class="post__tax list-unstyled">
<li class="post__tax-item"><?php printf(__('Posted in %s', 'sandbox'), get_the_category_list(', ')) ?></li>
</ul>
<h2 class="post__title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h2>
<ul class="post__meta list-unstyled">
<li class="post__meta-item post__meta-item--date"><?php unset($previousday);
printf(__('%1$s &#8211; %2$s', 'sandbox'), the_date('', '', '', false), get_the_time()) ?></li>
<li class="post__meta-item post__meta-item--author"><?php printf(__('By %s', 'sandbox'), '<a class="url fn n" href="' . get_author_posts_url($authordata->ID, $authordata->user_nicename) . '" title="' . sprintf(__('View all posts by %s', 'sandbox'), $authordata->display_name) . '">' . get_the_author() . '</a>') ?></li>
<li class="post__meta-item post__meta-item--comments"><?php comments_popup_link(__('Comments (0)', 'sandbox'), __('Comments (1)', 'sandbox'), __('Comments (%)', 'sandbox')) ?></span></a></li>
</ul>
</header>
<div class="post__excerpt">
<?php the_excerpt(__('Read More <span class="meta-nav">&raquo;</span>', 'sandbox')) ?>
</div>
</div>
</div>
<?php endwhile ?>
</div>
</div>
</div>
</div>
</main>
<?php get_footer() ?>