-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·40 lines (36 loc) · 1.01 KB
/
index.php
File metadata and controls
executable file
·40 lines (36 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* Main template file
*
* @package Frequency
*/
get_header();
?>
<main id="main-content" class="flex w-full flex-col items-center">
<?php
if (have_posts()) :
while (have_posts()) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('freq-container py-f64'); ?>>
<header class="entry-header">
<h1 class="title-70 text-primary mb-f24"><?php the_title(); ?></h1>
</header>
<div class="entry-content body">
<?php the_content(); ?>
</div>
</article>
<?php
endwhile;
else :
?>
<div class="freq-container py-f64">
<h1 class="title-70 text-primary"><?php esc_html_e('Nothing found', 'frequency'); ?></h1>
<p class="body mt-f24"><?php esc_html_e('Sorry, no content was found.', 'frequency'); ?></p>
</div>
<?php
endif;
?>
</main>
<?php
get_footer();