Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 52 lines (37 sloc) 1.568 kb
789a1c8 @samikeijonen Commit all files.
authored
1 <?php
2 /**
3 * Page Content Template
4 *
5 * Template used for 'page' post type.
6 *
7 * @package Path
8 * @subpackage Template
9 * @since 0.1.0
10 */
11
12 do_atomic( 'before_entry' ); // path_before_entry ?>
13
847cbe0 Some markup changes.
Sami Keijonen authored
14 <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
789a1c8 @samikeijonen Commit all files.
authored
15
16 <?php do_atomic( 'open_entry' ); // path_open_entry ?>
17
18 <?php if ( is_singular() ) { ?>
19
847cbe0 Some markup changes.
Sami Keijonen authored
20 <header class="entry-header">
21 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
22 </header><!-- .entry-header -->
789a1c8 @samikeijonen Commit all files.
authored
23
24 <div class="entry-content">
25 <?php the_content(); ?>
26 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
27 </div><!-- .entry-content -->
28
847cbe0 Some markup changes.
Sami Keijonen authored
29 <footer class="entry-footer">
30 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
31 </footer><!-- .entry-footer -->
32
789a1c8 @samikeijonen Commit all files.
authored
33 <?php } else { ?>
34
35 <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) ); ?>
36
847cbe0 Some markup changes.
Sami Keijonen authored
37 <header class="entry-header">
38 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
39 </header><!-- .entry-header -->
40
789a1c8 @samikeijonen Commit all files.
authored
41 <div class="entry-summary">
42 <?php the_excerpt(); ?>
43 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
44 </div><!-- .entry-summary -->
45
46 <?php } ?>
47
48 <?php do_atomic( 'close_entry' ); // path_close_entry ?>
49
847cbe0 Some markup changes.
Sami Keijonen authored
50 </article><!-- .hentry -->
789a1c8 @samikeijonen Commit all files.
authored
51
52 <?php do_atomic( 'after_entry' ); // path_after_entry ?>
Something went wrong with that request. Please try again.