123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- /**
- * Template part for displaying posts with the Quote format.
- *
- * @link https://codex.wordpress.org/Template_Hierarchy
- *
- * @package Scratchpad
- */
- ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <?php scratchpad_sticky(); ?>
- <div class="entry-content">
- <?php get_template_part( 'images/inline', 'quote.svg' ); ?>
- <?php
- the_content( sprintf(
- /* translators: %s: Name of current post. */
- wp_kses( __( 'Continue reading %s <span class="meta-nav">→</span>', 'scratchpad' ), array( 'span' => array( 'class' => array() ) ) ),
- the_title( '<span class="screen-reader-text">"', '"</span>', false )
- ) );
- wp_link_pages( array(
- 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'scratchpad' ),
- 'after' => '</div>',
- 'link_before' => '<span>',
- 'link_after' => '</span>',
- ) );
- ?>
- </div><!-- .entry-content -->
- <header class="entry-header">
- <?php
- the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
- ?>
- <div class="entry-meta">
- <?php scratchpad_post_format(); ?>
- <?php scratchpad_posted_on(); ?>
- <?php
- edit_post_link(
- sprintf(
- /* translators: %s: Name of current post */
- esc_html__( 'Edit %s', 'scratchpad' ),
- the_title( '<span class="screen-reader-text">"', '"</span>', false )
- ),
- '<span class="edit-link"><span class="sep">•</span>',
- '</span>'
- );
- ?>
- </div><!-- .entry-meta -->
- </header><!-- .entry-header -->
- </article><!-- #post-## -->
|