This repository has been archived by the owner on Feb 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.php
executable file
·67 lines (53 loc) · 1.93 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/**
* Twenty'em WordPress Framework.
*
* WARNING: This file is part of Twenty'em WordPress Framework.
* DO NOT edit this file under any circumstances. Do all your modifications in the form of a child theme.
*
* @package WordPress
* @subpackage Twenty'em
* @author RogerTM
* @license license.txt
* @link https://themingisprose.com/twenty-em
* @since Twenty'em 1.0
*/
/**
* 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.
*
* @link http://codex.wordpress.org/Template_Hierarchy
*/
get_header(); ?>
<section id="main-content" <?php t_em_breakpoint( 'main-content' ); ?>>
<section id="content" role="main" <?php t_em_breakpoint( 'content' ); ?>>
<?php do_action( 't_em_action_content_before' ); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php do_action( 't_em_action_post_before' ); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php do_action( 't_em_action_post_inside_before' ); ?>
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
<?php do_action( 't_em_action_post_content_before' ); ?>
<div class="entry-content">
<?php the_content(); ?>
</div><!-- .entry-content -->
<?php do_action( 't_em_action_post_content_after' ); ?>
<footer class="entry-meta entry-meta-footer mb-3">
<?php t_em_edit_post_link(); ?>
</footer>
<?php do_action( 't_em_action_post_inside_after' ); ?>
</article><!-- #post-## -->
<?php do_action( 't_em_action_post_after' ) ?>
<?php endwhile; ?>
<?php t_em_comments_template(); ?>
<?php do_action( 't_em_action_content_after' ); ?>
</section><!-- #content -->
<?php get_sidebar(); ?>
<?php get_sidebar( 'alt' ); ?>
</section><!-- #main-content -->
<?php get_footer(); ?>