/** * Post title (with link) */ function courtyard_entry_link() { printf('<a href="%s" rel="bookmark">', esc_url(get_permalink())); courtyard_entry_title(); print '</a>'; }
* @link https://codex.wordpress.org/Template_Hierarchy * * @package Courtyard-blog */ ?> <article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <header class="entry-header"> <h1 class="entry-title"><?php courtyard_entry_title(); ?> </h1> </header><!-- .entry-header --> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-links">' . esc_html__('Pages:', 'courtyard'), 'after' => '</div>')); ?> </div><!-- .entry-content --> <footer class="entry-footer"> <div class="entry-meta">