Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Fullwidth
- */
- get_header(); ?>
- <section class="page-content primary unit whole" role="main">
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="post-content">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <h1 class="page-title"><?php
- if ( is_singular() ) :
- the_title();
- else : ?>
- <a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php
- the_title(); ?>
- </a><?php
- endif; ?>
- </h1>
- <?php the_content(__("Continue Reading", "site5framework")); ?>
- <div class="post-aside"><?php
- wp_link_pages(
- array(
- 'before' => '<div class="linked-page-nav"><p>' . sprintf( __( '<em>%s</em> is separated in multiple parts:', 'site5framework' ), get_the_title() ) . '<br />',
- 'after' => '</p></div>',
- 'next_or_number' => 'number',
- 'separator' => ' ',
- 'pagelink' => __( '» Part %', 'site5framework' ),
- )
- );
- ?>
- </div>
- <?php endwhile; ?>
- </div>
- <?php endif; ?>
- </article>
- </section>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement