1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- /**
- * Template part for displaying single projects.
- *
- * @link https://codex.wordpress.org/Template_Hierarchy
- *
- * @package Rebalance
- */
- ?>
- <?php if ( has_post_thumbnail() ) { ?>
- <div class="post-hero-image">
- <figure class="entry-image">
- <?php the_post_thumbnail( 'full' ); ?>
- </figure>
- </div><!-- .post-hero-image -->
- <?php } ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
- <div class="entry-meta">
- <?php rebalance_entry_meta(); ?>
- </div><!-- .entry-meta -->
- </header><!-- .entry-header -->
- <div class="entry-content">
- <?php the_content(); ?>
- <?php
- wp_link_pages( array(
- 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'rebalance' ),
- 'after' => '</div>',
- ) );
- ?>
- </div><!-- .entry-content -->
- <footer class="entry-footer">
- <div class="entry-meta">
- <?php rebalance_entry_footer(); ?>
- </div>
- </footer><!-- .entry-footer -->
- </article><!-- #post-## -->
- <?php
- /**
- * Display the project navigation
- */
- the_post_navigation( array(
- 'prev_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Previous Project', 'rebalance' ) . '</span> <span class="meta-nav-title">%title</span>',
- 'next_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Next Project', 'rebalance' ) . '</span> <span class="meta-nav-title">%title</span> '
- ));
- /**
- * Display the author meta
- */
- rebalance_author_bio(); ?>
|