-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpage.php
More file actions
35 lines (31 loc) · 1.4 KB
/
page.php
File metadata and controls
35 lines (31 loc) · 1.4 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
<?php get_header(); ?>
<main class="<?php echo get_theme_mod( 'page_width' ); ?> mt-<?php echo get_theme_mod( 'page_margin_top' ); ?> mb-<?php echo get_theme_mod( 'page_margin_bottom' ); ?>">
<div class="row">
<div class="col-md-12">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article class="blog-post">
<?php the_content();?>
</article>
<?php endwhile; else: ?>
<div class="no-results">
<p>
<strong>There has been an error.
</strong>
</p>
<p>We apologize for any inconvenience, please
<a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>">return to the home page
</a> or use the search form below.
</p>
<?php get_search_form(); /* outputs the default Wordpress search form */ ?>
</div>
<!--noResults-->
<?php endif; ?>
<!-- Pagination -->
<nav class="blog-pagination" aria-label="Pagination">
<?php previous_posts_link('« Previous Entries') ?>
<?php next_posts_link('Next Entries »','') ?>
</nav>
</div>
</div>
</main>
<?php get_footer(); ?>