HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux sa-dev.otherchirps.net 5.15.0-139-generic #149-Ubuntu SMP Fri Apr 11 22:06:13 UTC 2025 x86_64
User: www-data (33)
PHP: 8.0.30
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/html/wp-content/themes/kalium/templates/global/adjacent-link.php
<?php
/**
 * Kalium WordPress Theme
 *
 * Adjacent link for page or any post type.
 *
 * @author   Laborator
 * @link     https://kaliumtheme.com
 * @version  3.2
 *
 * @var array   $classes
 * @var string  $adjacent_post_link
 * @var string  $adjacent_post_text
 * @var boolean $icon
 * @var string  $icon_class
 * @var string  $secondary_text
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Direct access not allowed.
}

?>
<a href="<?php echo esc_url( $adjacent_post_link ); ?>" <?php kalium_class_attr( $classes ); ?>>
	<?php if ( $icon ) : ?>
        <span class="adjacent-post-link__icon">
            <i class="<?php echo esc_html( $icon_class ); ?>"></i>
        </span>
	<?php endif; ?>

    <span class="adjacent-post-link__text">
        <?php if ( $secondary_text ) : ?>
            <span class="adjacent-post-link__text-secondary">
                <?php echo esc_html( $secondary_text ); ?>
            </span>
		<?php endif; ?>

        <span class="adjacent-post-link__text-primary">
            <?php echo esc_html( $adjacent_post_text ); ?>
        </span>
    </span>
</a>