-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
51 lines (37 loc) · 1.38 KB
/
index.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
/* the template for pages */
?>
<?php get_header(); ?>
<body <?php body_class(); ?>>
<!-- page header -->
<?php include('pageheader.php') ?>
<!-- content -->
<div id="content"> <!-- page content -->
<section>
<div class="">
<div class="container contentArea">
<div class="row">
<div class="col-md-12">
<!-- Start the Loop. -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- Display the Post's Content -->
<div><h1><a href='<?php echo get_permalink($post->ID)?>'><?php the_title(); ?></h1></a></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>
</div>
</div>
</section>
</div><!-- end page container -->
<?php get_footer(); ?>