forked from htmlburger/wpemerge-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
26 lines (22 loc) · 597 Bytes
/
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
<?php
/**
* Layout: views/layouts/app.php
*
* This is the template that is used for displaying all pages by default.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package MyApp
*/
?>
<?php while ( have_posts() ) : ?>
<?php the_post(); ?>
<div <?php post_class(); ?>>
<?php my_app_the_title( '<h2 class="post-title">', '</h2>' ); ?>
<div class="page__content">
<?php the_content(); ?>
<?php edit_post_link( __( 'Edit this entry.', 'my_app' ), '<p>', '</p>' ); ?>
<?php \MyApp::render( 'views/partials/pagination' ); ?>
</div>
</div>
<?php endwhile; ?>