Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 63 lines (44 sloc) 2.443 kB
789a1c8 @samikeijonen Commit all files.
authored
1 <?php
2 /**
3 * Link Content Template
4 *
5 * Template used for 'link' post format.
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() ) { ?>
847cbe0 Some markup changes.
Sami Keijonen authored
19
20 <header class="entry-header">
21 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
22 <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
23 </header><!-- .entry-header -->
24
789a1c8 @samikeijonen Commit all files.
authored
25 <div class="entry-content">
26 <?php the_content(); ?>
27 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
28 </div><!-- .entry-content -->
29
847cbe0 Some markup changes.
Sami Keijonen authored
30 <footer class="entry-footer">
31 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
32 </footer><!-- .entry-footer -->
33
789a1c8 @samikeijonen Commit all files.
authored
34 <?php } else { ?>
35
36 <?php if ( get_the_title() ) { ?>
37
38 <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) ); ?>
39
847cbe0 Some markup changes.
Sami Keijonen authored
40 <header class="entry-header">
41 <h2 class="entry-title"><a href="<?php echo esc_url( path_url_grabber() ); ?>" title="<?php the_title_attribute(); ?>"><?php printf( '%s <span class="meta-nav">&rarr;</span>', the_title( '', '', false ) ); ?></a></h2>
42 </header><!-- .entry-header -->
43
789a1c8 @samikeijonen Commit all files.
authored
44 <?php } else { ?>
45
46 <div class="entry-content">
47 <?php the_content(); ?>
48 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
49 </div><!-- .entry-content -->
50
51 <?php } ?>
52
847cbe0 Some markup changes.
Sami Keijonen authored
53 <footer class="entry-footer">
54 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
55 </footer><!-- .entry-footer -->
56
789a1c8 @samikeijonen Commit all files.
authored
57 <?php } ?>
58
59 <?php do_atomic( 'close_entry' ); // path_close_entry ?>
60
847cbe0 Some markup changes.
Sami Keijonen authored
61 </article><!-- .hentry -->
789a1c8 @samikeijonen Commit all files.
authored
62
63 <?php do_atomic( 'after_entry' ); // path_after_entry ?>
Something went wrong with that request. Please try again.