PHP 8.1.33
Preview: index.php Size: 1.17 KB
/home/jambtst2015/public_html/aef.ng/wp-content/themes/twentytwentyone/index.php

<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage Twenty_Twenty_One
 * @since Twenty Twenty-One 1.0
 */

get_header(); ?>

<?php if ( is_home() && ! is_front_page() && ! empty( single_post_title( '', false ) ) ) : ?>
	<header class="page-header alignwide">
		<h1 class="page-title"><?php single_post_title(); ?></h1>
	</header><!-- .page-header -->
<?php endif; ?>

<?php
if ( have_posts() ) {

	// Load posts loop.
	while ( have_posts() ) {
		the_post();

		get_template_part( 'template-parts/content/content', get_theme_mod( 'display_excerpt_or_full_post', 'excerpt' ) );
	}

	// Previous/next page navigation.
	twenty_twenty_one_the_posts_navigation();

} else {

	// If no content, include the "No posts found" template.
	get_template_part( 'template-parts/content/content-none' );

}

get_footer();

Directory Contents

Dirs: 4 × Files: 23

Name Size Perms Modified Actions
assets DIR
- drwxr-xr-x 2022-06-03 10:06:43
Edit Download
classes DIR
- drwxr-xr-x 2022-06-03 10:06:43
Edit Download
inc DIR
- drwxr-xr-x 2022-06-03 10:06:43
Edit Download
- drwxr-xr-x 2022-06-03 10:06:43
Edit Download
89 B lrw-r--r-- 2020-11-13 05:06:16
Edit Download
689 B lrw-r--r-- 2021-05-25 01:07:56
Edit Download
425 B lrw-r--r-- 2021-05-25 04:04:00
Edit Download
721 B lrw-r--r-- 2022-05-24 23:23:54
Edit Download
995 B lrw-r--r-- 2022-11-02 07:21:16
Edit Download
2.57 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
2.20 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
18.84 KB lrw-r--r-- 2023-11-08 04:50:50
Edit Download
1.00 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
3.37 KB lrw-r--r-- 2023-03-29 23:04:36
Edit Download
1.17 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
607.44 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
2.46 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
590 B lrw-r--r-- 2022-05-24 23:23:54
Edit Download
319 B lrw-r--r-- 2024-04-03 00:11:04
Edit Download
5.86 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
276.27 KB lrw-r--r-- 2020-12-09 05:29:46
Edit Download
1.61 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
1.40 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
1.66 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
152.36 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
152.66 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
22.97 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download

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