| Server IP : 14.225.204.176 / Your IP : 216.73.216.252 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/venus-cms/wp-content/themes/venus/ |
Upload File : |
<?php
/**
* Display single for the theme.
*
* @copyright ZiniMedia 2016
* @version Release: 0.1
* @package venus
* @author ZiniMedia-BM
*/
?>
<?php get_header(); ?>
<!-- main-content -->
<main class="main-content">
<section class="sub-banner">
<div class="container">
<div class="page-heading">
<h2 class="page-title title h2"><?php the_title(); ?></h2>
<div class="page-meta mt-2"><i class="fa-regular fa-clock me-2"></i> <strong><?php echo get_the_date() ?></strong></strong></div>
</div>
</div>
</section><!-- /.sub-banner -->
<div class="primary-content">
<div class="container">
<article class="single-post single-post-wrap mx-auto">
<div class="post-body">
<?php the_content(); ?>
</div>
<div class="post-control-groups">
<div class="row">
<div class="col-6">
<?php
$prev_post = get_previous_post();
if ( ! empty( $prev_post ) ): ?>
<a class="post-control" href="<?php echo get_permalink( $prev_post->ID ); ?>">
<i class="fa-solid fa-arrow-left-long me-2"></i> <?php echo apply_filters( 'the_title', $prev_post->post_title ); ?>
</a>
<?php endif; ?>
</div>
<div class="col-6">
<?php
$next_post = get_previous_post();
if ( ! empty( $next_post ) ): ?>
<a class="post-control text-end" href="<?php echo get_permalink( $next_post->ID ); ?>">
<?php echo apply_filters( 'the_title', $next_post->post_title ); ?>
<i class="fa-solid fa-arrow-right-long ms-2"></i>
</a>
<?php endif; ?>
</div>
</div>
</div>
</article>
</div>
</div>
</main>
<!-- e: main-content -->
<?php get_footer(); ?>