-
Notifications
You must be signed in to change notification settings - Fork 33
/
content.php
39 lines (25 loc) · 966 Bytes
/
content.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
<?php
/**
* The template for displaying posts.
* @package highwind
* @since 1.0
*/
?>
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<header class="post-header">
<?php highwind_content_header_top(); ?>
<?php if ( is_single() ) : ?>
<h1 class="post-title" data-text="<?php the_title_attribute(); ?>"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title" data-text="<?php the_title_attribute(); ?>"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'highwind' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php endif; ?>
<?php highwind_content_header_bottom(); ?>
</header><!-- /.post-header -->
<section class="article-content">
<?php
highwind_content_entry_top();
the_content( __( 'Continue Reading...', 'highwind' ) );
wp_link_pages();
highwind_content_entry_bottom();
?>
</section><!-- /.article-content -->