By default Genesis includes a read more link that looks like [Read More...], which is okay but sometimes we want to change the wording of the link text.

Most of the snippets that I’ve seen for changing the read more link text (except Mika’s) cause you to sacrifice a really great accessibility feature found in the default Genesis read more link: screen reader text. Screen reader text improves the accessibility of your theme and is simple to add with the function genesis_a11y_more_link() that was included in Genesis version 2.2.

If you want to include screen reader text with your modified read more links, use this:

Two things to be conscious of, though:

  1. Your Genesis child theme must declare support for the 'genesis-accessibility' feature. If it doesn’t already, then you can add the necessary theme support with this code.
  2. Your Genesis child theme needs to have some CSS to hide the screen reader text. You’ll want to add something like this in your stylesheet if it’s not there already.

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *