-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcontent-page.php
More file actions
67 lines (60 loc) · 1.65 KB
/
content-page.php
File metadata and controls
67 lines (60 loc) · 1.65 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
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
<?php
/**
* The template used for displaying page content in page.php
*
* @package dokani
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php dokani_article_schema( 'CreativeWork' ); ?>>
<div class="inside-article">
<?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 the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' ); ?>
<!-- --><?php //if ( function_exists( 'dokan_is_store_listing' ) && dokan_is_store_listing() ) { ?>
<!-- <div class="dokan-seller-view buttons box-shadow">-->
<!-- <button class="list"><i class="fa fa-bars"></i></button>-->
<!-- <button class="grid active"><i class="fa fa-th-large"></i></button>-->
<!-- </div>-->
<!-- --><?php //} ?>
</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_content hook.
*
* @since 1.0.0
*/
do_action( 'dokani_after_content' );
?>
</div><!-- .inside-article -->
</article><!-- #post-## -->