PHP 8.1.33
Preview: page.php Size: 1.25 KB
/home/jambtst2015/public_html/ida.org.ng/wp-content/themes/ida/page.php

<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package AccesspressLite
 */

get_header(); 
global $post;
if(is_front_page()){
	$post_id = get_option('page_on_front');
}else{
	$post_id = $post->ID;
}
$post_class = get_post_meta( $post_id, 'accesspresslite_sidebar_layout', true );
?>

<div class="ak-container">

<?php 
	if ($post_class=='both-sidebar') { ?>
		<div id="primary-wrap" class="clearfix"> 
	<?php }
?>
	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">

			<?php while ( have_posts() ) : the_post(); ?>

				<?php get_template_part( 'content', 'page' ); ?>

				<?php
					// If comments are open or we have at least one comment, load up the comment template
					if ( comments_open() || '0' != get_comments_number() ) :
						comments_template();
					endif;
				?>

			<?php endwhile; // end of the loop. ?>

		</main><!-- #main -->
	</div><!-- #primary -->

<?php 
get_sidebar('left'); 

	if ($post_class=='both-sidebar') { ?>
		</div> 
	<?php }

get_sidebar('right'); ?>
</div>
<?php get_footer(); ?>

Directory Contents

Dirs: 7 × Files: 26

Name Size Perms Modified Actions
css DIR
- drwxr-xr-x 2024-11-22 17:53:10
Edit Download
header DIR
- drwxr-xr-x 2024-11-22 17:53:10
Edit Download
images DIR
- drwxr-xr-x 2024-11-22 17:53:10
Edit Download
inc DIR
- drwxr-xr-x 2024-11-22 17:53:10
Edit Download
js DIR
- drwxr-xr-x 2024-11-22 17:53:10
Edit Download
languages DIR
- drwxr-xr-x 2024-11-22 17:53:10
Edit Download
- drwxr-xr-x 2024-11-22 17:53:10
Edit Download
123 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
863 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
3.20 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
2.58 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
1.08 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
641 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
958 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
5.04 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
2.93 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
621 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
3.66 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
1.64 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
22.89 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
25.27 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
7.40 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
34.32 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
1.25 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
8.32 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
2.33 MB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
895 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
477 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
6.64 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
5.04 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
4.55 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
1.13 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
43.07 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).