forked from moobaer/tiga
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-page.php
More file actions
35 lines (29 loc) · 1.03 KB
/
content-page.php
File metadata and controls
35 lines (29 loc) · 1.03 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
<?php
/**
* The template used for displaying page content in page.php
*
* @package Tiga
* @author Satrya
* @license license.txt
* @since 0.0.1
*
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'tiga' ), 'after' => '</div>' ) ); ?>
<?php edit_post_link( __( 'Edit', 'tiga' ), '<span class="page-edit">', '</span>' ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php
$tiga_socialpage = of_get_option( 'tiga_social_share' );
$disable_social = get_post_meta( get_the_ID(), 'tiga_social_check', true );
if( ( 'tiga_page' == $tiga_socialpage ) || ( 'tiga_both' == $tiga_socialpage ) && ( $disable_social != 'true' ) )
tiga_share_buttons();
?>
</footer>
</article><!-- end #article-<?php the_ID(); ?> -->