Spamworldpro Mini Shell
Spamworldpro


Server : nginx/1.20.1
System : Linux ccpf-production-2021 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64
User : forge ( 1000)
PHP Version : 7.4.21
Disable Function : 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,
Directory :  /home/forge/gcc-ccpf.com/wp-content/themes/labora/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/forge/gcc-ccpf.com/wp-content/themes/labora/template-blog.php
<?php
/*
Template Name: Blog
*/
?>
<?php get_header(); ?>
	<div id="primary" class="pagemid">
		<div class="inner">
		<main class="content-area" role="main">
			<div class="entry-content-wrapper clearfix">

				<?php
				$labora_blog_cats = '';
				if ( is_array( $labora_blog_all_cats = get_option( 'labora_blog_cats' ) ) && count( $labora_blog_all_cats ) > 0 ) {
					$labora_blog_cats = implode( ', ', $labora_blog_all_cats );
				}
				if ( get_query_var( 'paged' ) ) {
					$paged = get_query_var( 'paged' );
				} elseif ( get_query_var( 'page' ) ) {
					$paged = get_query_var( 'page' );
				} else {
					$paged = 1;
				}
				global $wp_query;
				$temp = $wp_query;
				$wp_query = null;
				$labora_blog_args = array(
					'cat'   => $labora_blog_cats,
					'paged' => $paged,
				);
				$wp_query = new WP_Query( $labora_blog_args );
				?>
				<?php if ( $wp_query->have_posts() ) : while ( $wp_query->have_posts() ) :  $wp_query->the_post(); ?>
				<?php get_template_part( 'post-formats/content', get_post_format() ); ?>
				<?php endwhile; ?>

				<?php if ( function_exists( 'labora_pagination' ) ) { labora_pagination(); } ?>

				<?php else : ?>

				<p><?php esc_html_e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'labora' ); ?></p>
				<?php get_search_form(); ?>

				<?php endif; ?>
				<?php
				$wp_query = null;
				$wp_query = $temp;
				?>
				<?php wp_reset_postdata();  ?>

				</div>
			</main><!-- .content-area -->

			<?php if ( labora_generator( 'labora_sidebar_option', $post->ID ) !== 'fullwidth' ) { get_sidebar(); } ?>
			<!-- .sidebar -->

			<div class="clear"></div>

		</div><!-- .inner -->
	</div><!-- .pagemid -->
<?php
get_footer();

Spamworldpro Mini