splits/page.php

46 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2020-03-11 14:32:45 +01:00
<?php get_header(); ?>
2022-12-22 12:54:15 +01:00
<div id="splits-left" class="stickyfill group">
2020-03-11 14:32:45 +01:00
<div class="image-container">
<?php if ( has_post_thumbnail() ) {
2022-12-22 12:54:15 +01:00
the_post_thumbnail('splits-large');
2020-03-11 14:32:45 +01:00
$caption = get_post(get_post_thumbnail_id())->post_excerpt;
if ( isset($caption) && $caption ) echo '<div class="image-caption">'.$caption.'</div>';
} ?>
</div>
<?php if ( get_theme_mod( 'sharrre', 'on' ) == 'on' ) { get_template_part('inc/sharrre'); } ?>
2022-12-22 12:54:15 +01:00
</div><!--/#splits-left-->
2020-03-11 14:32:45 +01:00
2022-12-22 12:54:15 +01:00
<div id="splits-right">
2020-03-11 14:32:45 +01:00
2022-12-22 12:54:15 +01:00
<div id="splits-right-top" class="pad">
2020-03-11 14:32:45 +01:00
<?php get_template_part('inc/page-title'); ?>
</div>
<div class="content pad">
<?php while ( have_posts() ): the_post(); ?>
<article <?php post_class('group'); ?>>
<div class="entry themeform">
<?php the_content(); ?>
<div class="clear"></div>
</div><!--/.entry-->
</article>
<?php if ( get_theme_mod( 'page-comments', 'off' ) == 'on' ) { comments_template('/comments.php',true); } ?>
<?php endwhile; ?>
</div><!--/.content-->
2022-12-22 12:54:15 +01:00
</div><!--/#splits-right-->
2020-03-11 14:32:45 +01:00
<?php get_sidebar(); ?>
<?php get_footer(); ?>