-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-page.php
59 lines (40 loc) · 1.7 KB
/
content-page.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
<?php
/**
* Content for all page post_types
*/
?>
<article class="entry entry-type-content">
<div class="content">
<div class="thumbnail">
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail('medium'); } ?>
</div>
<div class="inner-content">
<?php the_content(); ?><div class="schdlr-clearfix"></div>
<?php wp_link_pages( array(
'before' => '<div class="pagelink"><span class="page-links-title">'
. __( 'Pages:', 'scheduler' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) ); ?>
</div>
<?php if( has_tag() && 'post_tag' === has_tag() )
{ ?>
<p class="spanlink"><span><?php esc_html_e( 'Keywords: ',
'scheduler' ); ?> </span> <?php the_tags( ' ', ', ' ); ?></p>
<?php // !Tag-link
} ?>
<?php if( has_category() )
{ ?>
<p class="spanlink"><span><?php esc_html_e( 'Topic: ',
'scheduler' ); ?></span> <?php the_category( ' ', ', ' ); ?></p>
<?php // !Cat-link
} ?>
<p class="spanlink"><?php edit_post_link( __('Edit', 'scheduler'),
'<span>', '</span>'); ?></p>
</div><!-- ends content -->
</article>
<section id="comments">
<?php comments_template(); ?>
</section>