127 lines
4.9 KiB
PHP
Executable file
127 lines
4.9 KiB
PHP
Executable file
<?php get_header(); ?>
|
|
|
|
<div class="page-heading">
|
|
<div class="page-heading__inner">
|
|
<div class="container">
|
|
<?php while (have_posts()):
|
|
the_post(); ?>
|
|
<h2 class="page-heading__title page-heading__post-title">
|
|
<?php the_title(); ?>
|
|
</h2>
|
|
|
|
<div class="breadcrumb breadcrumb-item active">
|
|
<?php if (function_exists("get_breadcrumb")) {
|
|
get_breadcrumb();
|
|
} ?>
|
|
</div>
|
|
<?php
|
|
endwhile; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<main class="site-content">
|
|
<div class="section-content">
|
|
<div class="container">
|
|
<div class="box box-outline">
|
|
<div class="content">
|
|
<div class="section-heading section-heading--divider-top">
|
|
<h3 class="section-heading__title">
|
|
<?php while (have_posts()): the_post(); ?>
|
|
<?php the_title(); ?>
|
|
</h3>
|
|
</div>
|
|
|
|
<?php
|
|
the_content(
|
|
'<br><span class="btn btn-inverse">View More</span>',
|
|
'sandbox'
|
|
);
|
|
|
|
if (function_exists("rp_display_heart_for_post")) {
|
|
rp_display_heart_for_post(get_the_ID());
|
|
}
|
|
?>
|
|
|
|
<!-- // INFO: Szerző megjelenítése -->
|
|
<div class="box-author">
|
|
<div class="author">
|
|
<div class="author-content">
|
|
<h4><?php the_author(); ?></h4>
|
|
|
|
<?php if (get_the_author_meta("description")) {
|
|
echo wpautop(get_the_author_meta("description"));
|
|
} ?>
|
|
|
|
<div class="author-links">
|
|
<a class="author-link-posts" title="Szerző írásai"
|
|
href="<?php echo get_author_posts_url(get_the_author_meta("ID")); ?>"></a>
|
|
|
|
<?php
|
|
$author_url = get_the_author_meta("user_url");
|
|
if (!empty($author_url)): ?>
|
|
<a class="author-link-website" title="Szerző oldala"
|
|
href="<?php echo esc_url($author_url); ?>"></a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- // INFO: Közreműködők -->
|
|
<?php if (function_exists("display_co_authors")) {
|
|
display_co_authors();
|
|
} ?>
|
|
</div>
|
|
|
|
<div class="post-meta">
|
|
<p><i class="fa-regular fa-clock icon-padding"></i><?php the_time(get_option("date_format")); ?></p>
|
|
|
|
<?php if (function_exists("zilla_likes")) {
|
|
zilla_likes();
|
|
} ?>
|
|
|
|
<p><i class="fa-solid fa-folder icon-padding"></i><?php the_category(", "); ?></p>
|
|
|
|
<?php if (has_tag()): ?>
|
|
<p><i class="fa-solid fa-tag icon-padding"></i><?php the_tags("", ", "); ?></p>
|
|
<?php endif; ?>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div class="post-nav">
|
|
<?php
|
|
$prev_post = get_previous_post();
|
|
$next_post = get_next_post();
|
|
|
|
if ($prev_post): ?>
|
|
<a href="<?php the_permalink($prev_post->ID); ?>">
|
|
<i class="fa-regular fa-circle-left icon-padding"></i><?php _e("Előző bejegyzés"); ?>
|
|
</a>
|
|
<?php endif;
|
|
|
|
if ($next_post): ?>
|
|
<a href="<?php the_permalink($next_post->ID); ?>">
|
|
<i class="fa-regular fa-circle-right icon-padding"></i><?php _e("Következő bejegyzés"); ?>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php edit_post_link(__("Bejegyzés szerkesztése")); ?>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
<hr class="hr">
|
|
<?php comments_template("", true); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|