-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_contact.php
49 lines (42 loc) · 1.36 KB
/
page_contact.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
<?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: Contact Page*/
// Gets contact.php
get_header();
?>
<div class="container-fluid tkContent">
<div class="container tkWhite">
<!-- /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();
?>