-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
page.php
38 lines (35 loc) · 1.16 KB
/
page.php
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
<?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 Bigfa
* @subpackage Hera
* @since Hera 0.0.1
*/
get_header(); ?>
<?php get_template_part('template-parts/search-bar'); ?>
<div class="articleContainer">
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<header class="article--header">
<h2 class="article--headline" itemprop="headline"><?php the_title(); ?></h2>
</header>
<div class="grap" itemprop="articleBody">
<?php the_content(); ?>
</div>
</article>
<div class="post--ingle__comments">
<?php if (comments_open() || get_comments_number()) :
comments_template();
endif; ?>
</div>
<?php endwhile;
endif; ?>
</div>
<?php get_footer(); ?>