-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.php
More file actions
40 lines (26 loc) · 1 KB
/
Copy pathcontent.php
File metadata and controls
40 lines (26 loc) · 1 KB
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
<?php
/**
* The template for displaying posts.
* @package heightwind
* @since 2.0.0
*/
?>
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<header class="post-header">
<?php heightwind_content_header_top(); ?>
<?php if ( is_single() ) : ?>
<h1 class="post-title" data-text="<?php the_title_attribute(); ?>"><?php the_title(); ?></h1>
<?php else : ?>
<?php /* translators: %s: Post title */ ?>
<h1 class="post-title" data-text="<?php the_title_attribute(); ?>"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'heightwind' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php endif; ?>
<?php heightwind_content_header_bottom(); ?>
</header><!-- /.post-header -->
<section class="article-content">
<?php
heightwind_content_entry_top();
the_content( __( 'Continue Reading...', 'heightwind' ) );
wp_link_pages();
heightwind_content_entry_bottom();
?>
</section><!-- /.article-content -->