Page Template with Slider
-
<?php
/**
* Template Name: Page with Slider
* Description: Page with Slider
*/
?>
<?php get_header(); ?>
<div class=”row”>
<?php if (!get_theme_mod(‘wp_fanzone_disable_slider’) ) { ?>
<div class=”col-md-12″>
<?php get_template_part( ‘inc/slider’ ) ?>
</div>
<?php } ?>
<div class=”clearfix”></div>
<div class=”margin-bottom-separator”></div>
<div id=”primary” class=”content-area col-md-9″ ><article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<div class=”entry-content”>
<?php the_content(); ?>
<?php
wp_link_pages( array(
‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘wp-fanzone’ ),
‘after’ => ‘</div>’,
) );
?>
</div><!– .entry-content –><footer class=”entry-footer”>
<?php edit_post_link( __( ‘Edit’, ‘wp-fanzone’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
</footer><!– .entry-footer –>
</article><!– #post-## –>
</div>
- The topic ‘Page Template with Slider’ is closed to new replies.