-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2colpage.php
56 lines (42 loc) · 1.43 KB
/
2colpage.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
<?php
/*
Template Name: 2col page
*/
?>
<?php get_header(); ?>
<body <?php body_class(); ?>>
<!-- page header -->
<?php include('pageheader.php') ?>
<!-- content -->
<div id="content"> <!-- page content -->
<section>
<div class="wrapSecondary">
<div class="container contentArea">
<div class="row">
<div class="col-md-8" id="primary">
<!-- Start the Loop. -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- Display the Post's Content -->
<div><h1><?php the_title(); ?></h1></div>
<div class="dashedline"></div>
<?php the_content(); ?>
<!-- Stop The Loop (but note the "else:" - see next line). -->
<?php endwhile; else: ?>
<!-- The very first "if" tested to see if there were any Posts to -->
<!-- display. This "else" part tells what do if there weren't any. -->
<h1>Page not found</h1>
<p>Sorry, that page no longer exists. The page may have been removed or you have followed an obsolete link.
Please use the site's navigation menus to try again.</p><p> </p><p> </p><p> </p><p> </p>
<!-- REALLY stop The Loop. -->
<?php endif; ?>
<!-- /post -->
</div>
<div class="col-md-4">
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>
</section>
</div><!-- end page container -->
<?php get_footer(); ?>