-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpage.php
59 lines (45 loc) · 1.24 KB
/
page.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
<?php
/**
* Page Template
* Displays posts that are designated as "Pages"
*
* @package Desk_Mess_Mirrored
* @since 1.0
*
* @link http://buynowshop.com/themes/desk-mess-mirrored/
* @link https://github.com/Cais/desk-mess-mirrored/
* @link https://wordpress.org/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2016, Edward Caissie
*
* @version 2.0
* @date December 11, 2012
*
* @version 2.1
* @date December 3, 2012
* Added 'DMM No Posts Found' function to replace repetitive code
*/
get_header(); ?>
<div id="maintop"></div>
<div id="wrapper">
<div id="content">
<div id="main-blog">
<div class="clear"> </div>
<!-- Hack: the non-breaking space keeps the content below the menu when menus contain many top-level items -->
<?php if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'desk-mess-mirrored', get_post_format() );
}
} else {
dmm_no_posts_found();
} ?>
</div>
<!-- #main blog -->
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<!-- #content -->
</div><!-- #wrapper -->
<?php get_footer();