/
about.php
51 lines (37 loc) · 1.18 KB
/
about.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
<?php
/*
* Template Name: About
*
* @package Type
* @since Type 1.0
*/
get_header(); ?>
<?php if ( have_posts() ) : ?>
<?php if ( get_theme_mod('page_style', 'fimg-classic') == 'fimg-fullwidth' ) : ?>
<div class="entry-header">
<?php the_title( '<h1 class="entry-title"><span>', '</span></h1>' ); ?>
</div>
<?php if ( has_post_thumbnail() && get_theme_mod('page_has_featured_image', 1) ) : ?>
<figure class="entry-thumbnail">
<?php the_post_thumbnail('type-fullwidth'); ?>
</figure>
<?php endif; // Featured Image ?>
<?php endif; ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/page/content', 'page' );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile; // End of the loop.
?>
<ul id="linkspage">
<?php wp_list_bookmarks('title_before=<strong>&title_after=</strong>'); ?>
</ul>
</main><!-- #main -->
</div><!-- #primary -->
<?php endif; ?>
<?php get_footer(); ?>