60 lines
2.2 KiB
PHP
60 lines
2.2 KiB
PHP
|
<?php get_header() ?>
|
||
|
<div class="page-heading jarallax" data-jarallax data-speed="0.2">
|
||
|
<div class="page-heading__inner">
|
||
|
<div class="container">
|
||
|
<?php while ( have_posts() ) : the_post() ?>
|
||
|
|
||
|
<h2 class="page-heading__title page-heading__post-title"><center><?php the_title() ?></center></h2>
|
||
|
|
||
|
<ul class="post__meta list-unstyled pt-4">
|
||
|
<li class="post__meta-item post__meta-item--date"><?php the_time('Y-m-d'); ?></li>
|
||
|
<li class="post__meta-item post__meta-item--author"><?php printf(__('By %s', 'sandbox'), '<a class="url fn n" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf(__('View all posts by %s', 'sandbox'), $authordata->display_name) . '">'.get_the_author().'</a>') ?></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!-- Page Heading / End -->
|
||
|
<?php endwhile ?>
|
||
|
<main class="site-content">
|
||
|
<div class="section-content">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<?php while ( have_posts() ) : the_post() ?>
|
||
|
<!-- Content -->
|
||
|
<div class="content col-md-8">
|
||
|
<!-- Single Post -->
|
||
|
<div class="post post--single-post">
|
||
|
<figure class="post__thumb">
|
||
|
<img src="<?php the_post_thumbnail(); ?>
|
||
|
</figure>
|
||
|
<div class="post__body box">
|
||
|
<div class="post__content">
|
||
|
<div class="pt-4"></div>
|
||
|
<?php the_content(''.__('<br><span class="btn btn-inverse">View More</a>', 'sandbox').''); ?>
|
||
|
</div>
|
||
|
<?php endwhile ?>
|
||
|
<?php the_tags( '<font color="fffff"><p>Tags:</font><footer class="post__footer"><div class="tagcloud"><div class="btn btn-sm btn-outline-secondary"> ', ' • ', '</div></div></footer>' ); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="post-comments">
|
||
|
<header class="section-heading section-heading--sm section-heading--divider-bottom section-heading--left">
|
||
|
<?php comments_template() ?>
|
||
|
</header>
|
||
|
<div class="post-comments__content">
|
||
|
|
||
|
<ul class="comments">
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- Content / End -->
|
||
|
<?php get_sidebar( 'kozep' ); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</main>
|
||
|
|
||
|
<?php get_footer() ?>
|