-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_about.php
69 lines (59 loc) · 2.24 KB
/
page_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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme and one of the
* two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php file exists.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Wp_Bootstrap
* @since Wp Bootstrap 1.0
*/
/* Template Name: About Page*/
// Gets about.php
get_header();
?>
<div class="container-fluid tkContent">
<div class="container tkWhite">
<!-- Example row of columns -->
<div class="row well">
<div class="col-xs-6 col-sm-3">
<img src="<?php echo get_template_directory_uri(); ?>/images/about1.jpg">
</div>
<div class="col-xs-6 col-sm-3">
<img src="<?php echo get_template_directory_uri(); ?>/images/about2.jpg">
</div>
<!-- Add the extra clearfix for only the required viewport -->
<div class="clearfix visible-xs"></div>
<div class="col-xs-6 col-sm-3">
<img src="<?php echo get_template_directory_uri(); ?>/images/about3.jpg">
</div>
<div class="col-xs-6 col-sm-3">
<img src="<?php echo get_template_directory_uri(); ?>/images/about4.jpg">
</div>
</div>
<!-- /END THE FEATURETTES -->
<div class="row">
<div class="col-lg-12 col-xs-12 col-sm-12 col-md-12 well">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<?php edit_post_link(); ?>
<hr>
<?php the_content(); ?>
<hr>
</div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, this page does not exist.'); ?></p>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php
// Gets footer.php
get_footer();
?>