-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-eighty.php
More file actions
executable file
·79 lines (69 loc) · 3.04 KB
/
Copy pathpage-eighty.php
File metadata and controls
executable file
·79 lines (69 loc) · 3.04 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
68
69
70
71
72
73
74
75
76
77
78
79
<?php
/*
* Template Name: Page Single 80%
*
*/
get_header(); ?>
<?php $wise_page_feat = function_exists('carbon_get_post_meta') ? carbon_get_post_meta(get_the_ID(), 'wise_page_feat') : null;
$wise_page_share = function_exists('carbon_get_post_meta') ? carbon_get_post_meta(get_the_ID(), 'wise_page_share') : null; ?>
<div class="content-wrapper-outer">
<div class="content-wrapper" data-sticky_parent>
<?php get_sidebar('docs_top'); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main single-page">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('page-full'); ?>>
<header class="entry-header">
<?php if( function_exists('wise_breadcrumbs') && get_theme_mod('wise_dis_breadcrumbs') == null ) : ?>
<div class="top-meta">
<?php wise_breadcrumbs(); ?>
</div><!-- End of .top-meta -->
<?php endif; ?>
<?php $wise_title_align = function_exists('carbon_get_post_meta') ? carbon_get_post_meta(get_the_ID(), 'wise_page_title_align') : null; ?>
<?php if($wise_title_align == 'center') {
the_title( '<h1 class="entry-title center">', '</h1>' );
if( $wise_page_share == true ) : ?>
<div class="center">
<?php if( function_exists('wise_share_buttons') ) : wise_share_buttons(); endif; ?>
</div><!-- End of Custom Social -->
<?php endif;
} elseif($wise_title_align == 'right') {
the_title( '<h1 class="entry-title tright">', '</h1>' );
if( $wise_page_share == true ) : ?>
<div class="tright">
<?php if( function_exists('wise_share_buttons') ) : wise_share_buttons(); endif; ?>
</div>
<?php endif;
} else {
the_title( '<h1 class="entry-title">', '</h1>' );
if( $wise_page_share == true ) : ?>
<?php if( function_exists('wise_share_buttons') ) : wise_share_buttons(); endif; ?>
<?php endif;
} ?>
</header><!-- End of .entry-header -->
<?php if( $wise_page_feat == true ) : ?>
<?php if( has_post_thumbnail() ) :
echo '<div class="single-post-thumb">';
the_post_thumbnail('wise-post-thumb');
echo '</div>'; endif; ?>
<?php endif; ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wise_custom_wp_link_pages(); ?>
</div><!-- End of .entry-content -->
<footer class="entry-footer">
<?php edit_post_link( esc_html__( 'Edit', 'wise-blog' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- End of .entry-footer -->
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</article><!-- End of #post-## -->
<?php endwhile; // End of the loop. ?>
</main><!-- End of #main -->
</div><!-- End of #primary -->
</div><!-- End of #content-wrapper -->
</div><!-- End of #content-wrapper-outer -->
<?php get_footer(); ?>