lightspeeddevelopment/lsx

View on GitHub
partials/content-custom.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * The template used for displaying page content in single.php (custom post type)
 *
 * @package lsx
 */

?>

<?php lsx_entry_before(); ?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

    <?php lsx_entry_top(); ?>

    <div class="entry-content">
        <?php
            the_content();

            wp_link_pages( array(
                'before'      => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">',
                'after'       => '</div></div>',
                'link_before' => '<span>',
                'link_after'  => '</span>',
            ) );
        ?>
    </div><!-- .entry-content -->

    <?php lsx_entry_bottom(); ?>

</article><!-- #post-## -->

<?php
lsx_entry_after();