1st commit
This commit is contained in:
66
single.php
Normal file
66
single.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php get_header()?>
|
||||
|
||||
<?php
|
||||
|
||||
$kk_parallax = kk_parallax();
|
||||
$title_type = $kk_parallax[0];
|
||||
$bg_title_img = $kk_parallax[1];
|
||||
|
||||
?>
|
||||
|
||||
<?php if ( post_password_required( $post ) ) {
|
||||
|
||||
get_template_part( 'password-form' );
|
||||
|
||||
} else { ?>
|
||||
|
||||
<!-- start main container -->
|
||||
<div class="content page-content">
|
||||
|
||||
<?php if( $title_type == 'parallax' ) { ?>
|
||||
|
||||
<div id="kk-parallax-wrapper" class="kk-parallax-wrapper">
|
||||
|
||||
<div id="kk-parallax-bg" class="kk-parallax-bg kk-hidden">
|
||||
<img id="kk-img-check" src="<?php echo esc_url( $bg_title_img ) ?>" alt="<?php echo esc_attr( $kk_parallax[2] ) ?>" />
|
||||
</div>
|
||||
|
||||
<div id="kk-parallax-title-wrapper" class="kk-parallax-title-wrapper">
|
||||
<div id="kk-parallax-title" class="page-title">
|
||||
<?php the_title ('<h1>', '</h1>'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a id="kk-down" class="kk-down is-loading" href="#kk-to-me"></a>
|
||||
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<div class="content-inner-wrapper clearfix">
|
||||
<span id="kk-to-me"></span>
|
||||
<?php if( $title_type == 'default' ) { ?>
|
||||
|
||||
<div class="page-title">
|
||||
<?php the_title ('<h1>', '</h1>'); ?>
|
||||
</div>
|
||||
|
||||
<div class="divider clear"></div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<div class="inner-content">
|
||||
<?php the_post(); ?>
|
||||
|
||||
<?php the_content (); ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_template_part('extends/footer-area') ?>
|
||||
|
||||
</div>
|
||||
<!-- end container -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer()?>
|
||||
Reference in New Issue
Block a user