[wp-trac] [WordPress Trac] #30176: Twenty Fourteen: Replaces ellipses with ellipses and a Continue reading link.
WordPress Trac
noreply at wordpress.org
Wed Oct 29 17:03:27 UTC 2014
#30176: Twenty Fourteen: Replaces ellipses with ellipses and a Continue reading
link.
---------------------------+-----------------------------
Reporter: davidakennedy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
To help meet accessibility-ready requirements, we need to make clean
automatically-generated excepts. We should replace the ellipses (appended
to automatically generated excerpts) with a Continue reading link.
The theme already carries the accessibility-ready tag but this was missed
previously.
This would mirror what we already do in the content.php and other content
areas, and is catching another use-case:
{{{
<?php
/* translators: %s: Name of current post */
the_content( sprintf(
esc_html__( 'Continue reading %s', 'twentyfifteen' ),
the_title( '<span class="screen-reader-text">', '</span>',
false )
) );
?>
}}}
We could add it in the template-tags.php file and follow this example:
http://www.fklein.info/read-more-link-excerpts/
Related: #30135
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30176>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list