-
Notifications
You must be signed in to change notification settings - Fork 18
/
content-single.php
119 lines (107 loc) · 2.22 KB
/
content-single.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?php
/**
* The template for displaying single posts.
*
* @package dokani
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php dokani_article_schema( 'CreativeWork' ); ?>>
<?php
$is_fluid_content = get_theme_mod( 'fluid_featured_image', 'on' );
?>
<div class="inside-article <?php echo ( $is_fluid_content ) ? 'is-fluid-content' : ''; ?>">
<?php
/**
* dokani_before_content hook.
*
* @since 1.0.0
*
* @hooked dokani_featured_page_header_inside_single - 10
*/
do_action( 'dokani_before_content' );
?>
<header class="entry-header">
<?php
/**
* dokani_before_entry_title hook.
*
* @since 1.0.0
*/
do_action( 'dokani_before_entry_title' );
the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' );
/**
* dokani_after_entry_title hook.
*
* @since 1.0.0
*
* @hooked dokani_post_meta - 10
*/
do_action( 'dokani_after_entry_title' );
?>
</header><!-- .entry-header -->
<?php
/**
* dokani_after_entry_header hook.
*
* @since 1.0.0
*
* @hooked dokani_post_image - 10
*/
do_action( 'dokani_after_entry_header' );
?>
<div class="entry-content" itemprop="text">
<?php
the_content();
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'dokani' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php
/**
* dokani_after_entry_content hook.
*
* @since 1.0.0
*
* @hooked dokani_footer_meta - 10
*/
do_action( 'dokani_after_entry_content' );
/**
* dokani_after_content hook.
*
* @since 1.0.0
*/
do_action( 'dokani_after_content' );
?>
</div><!-- .inside-article -->
<?php
/**
* dokane_post_meta hook.
*
* @since 1.0.0
*
* @hooked dokane_post_meta - 10
*/
do_action( 'dokane_post_meta' );
/**
* dokani_post_nav hook.
*
* @since 1.0.0
*
* @hooked dokani_post_nav - 10
*/
do_action( 'dokani_post_nav' );
/**
* dokani_post_author_profile hook.
*
* @since 1.0.0
*
* @hooked dokani_post_author_profile - 10
*/
do_action( 'dokani_post_author_profile' );
?>
</article><!-- #post-## -->