HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/shoetique/wp-content/themes/north-wp/inc/postformats/post-prevnext.php
<!-- Start Previous / Next Post -->
<section id="post-prevnext" class=" hide-on-print">
	<div class="row">
		<?php 
			$prev_post = get_adjacent_post(false, '', true);
			
			if(!empty($prev_post)) {
				$excerpt = $prev_post->post_content;
				$previd = $prev_post->ID;
				
				echo '<div class="small-12 medium-6 columns"><div class="post-navi prev"><a href="' . get_permalink($previd) . '" title="' . $prev_post->post_title . '"><span>' . __("Previous", 'north') . '</span>' . $prev_post->post_title . '</a></div></div>'; 
			}
		?>
		<?php
			$next_post = get_adjacent_post(false, '', false);
			
			if(!empty($next_post)) {
				$excerptnext = $next_post->post_content;
				$nextid = $next_post->ID;
				
				echo '<div class="small-12 medium-6 columns"><div class="post-navi next"><a href="' . get_permalink($nextid) . '" title="' . $next_post->post_title . '"><span>' . __("Next", 'north') . '</span>' . $next_post->post_title . '</a></div></div>'; 
			}
		?>
	</div>
</section>
<?php wp_reset_query(); ?>
<!-- End Previous / Next Post -->