-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathcontent-single.php
More file actions
33 lines (29 loc) · 1.02 KB
/
content-single.php
File metadata and controls
33 lines (29 loc) · 1.02 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
<?php
/**
* @package GeneratePress
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php generate_article_schema( 'CreativeWork' ); ?>>
<div class="inside-article">
<?php do_action( 'generate_before_content'); ?>
<header class="entry-header">
<?php do_action( 'generate_before_entry_title'); ?>
<?php if ( generate_show_title() ) : ?>
<?php the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' ); ?>
<?php endif; ?>
<?php do_action( 'generate_after_entry_title'); ?>
</header><!-- .entry-header -->
<?php do_action( 'generate_after_entry_header'); ?>
<div class="entry-content" itemprop="text">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'generatepress' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php do_action( 'generate_after_entry_content' ); ?>
<?php do_action( 'generate_after_content' ); ?>
</div><!-- .inside-article -->
</article><!-- #post-## -->