biofriction-wp-theme/template-parts/content-page.php

24 lines
518 B
PHP
Raw Permalink Normal View History

2021-02-18 15:27:46 +01:00
<?php
/**
* The default template for displaying page content
*
*
* @package Biofriction
* @since Biofriction 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer>
<?php get_template_part( 'template-parts/navigation', 'prevnext' ); ?>
<?php $tag = get_the_tags(); if ( $tag ) { ?><p><?php the_tags(); ?></p><?php } ?>
</footer>
</article>