RP_Rave1_theme/index.php

72 lines
2.6 KiB
PHP
Raw 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">RavePriest Blog</h1>
</div>
</div>
</div>
<main class="site-content">
<div class="section-content">
<div class="container">
<div class="row">
<!-- Content -->
<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">
<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--category"><?php printf(__('%s', 'sandbox'), get_the_category_list(', ')) ?></li>
<li class="post__meta-item post__meta-item--date">
<a class="url fn n">
<?php the_time('Y-m-d'); ?>
</li>
</a>
<li class="post__meta-item post__meta-item--author"><?php printf(__('%s', 'sandbox'), '<a class="url fn n" href="' . get_author_link(false, $authordata->ID, $authordata->user_nicename) . '" title="' . sprintf(__('Összes bejegyzésének megtekintése %s', 'sandbox'), $authordata->display_name) . '">' . get_the_author() . '</a>') ?></li>
<li class="post__meta-item post__meta-item--comments"><?php comments_popup_link(__('Hozzászólások (0)', 'sandbox'), __('Hozzászólások (1)', 'sandbox'), __('Hozzászólások (%)', 'sandbox')) ?></span></a></li>
</ul>
</header>
<div class="post__excerpt">
<?php the_content('' . __(' <footer class="post__footer"><div class="btn btn-outline-secondary">Olvass Tovább</a></div></footer> ', 'sandbox') . ''); ?>
<?php link_pages("\t\t\t\t\t<div class='page-link'>" . __('Pages: ', 'sandbox'), "</div>\n", 'number'); ?>
</div>
</div>
</div>
<?php endwhile ?>
<nav aria-label="Blog navigation">
<ul class="pagination pagination--circle pagination--blog justify-content-center">
<?php global $wp_query;
$args = array('prev_next' => false,);
echo paginate_links($args);
?>
</ul>
</nav>
</div>
</div>
</div>
</div>
</main>
<?php get_footer() ?>