HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/design-logix.co.uk/public_html/wp-content/themes/ashe/templates/single/single-navigation.php
<?php

// Get Previous and Next Posts
$prev_post = get_adjacent_post(false, '', false);
$next_post = get_adjacent_post(false, '', true);

?>

<!-- Previous Post -->
<?php if ( ! empty( $prev_post ) ) : ?>
<a href="<?php echo esc_url( get_permalink($prev_post->ID) ); ?>" title="<?php echo esc_attr($prev_post->post_title); ?>" class="single-navigation previous-post">
	<?php echo get_the_post_thumbnail($prev_post->ID, 'ashe-single-navigation'); ?>
	<i class="fa-solid fa-angle-right"></i>
</a>
<?php endif; ?>

<!-- Next Post -->
<?php if ( ! empty( $next_post ) ) : ?>
<a href="<?php echo esc_url( get_permalink($next_post->ID) ); ?>" title="<?php echo esc_attr($next_post->post_title); ?>" class="single-navigation next-post">
	<?php echo get_the_post_thumbnail($next_post->ID, 'ashe-single-navigation'); ?>
	<i class="fa-solid fa-angle-left"></i>
</a>
<?php endif; ?>