• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Modify Read More Link Text In Genesis 2.7 +

You can use the genesis_more_text filter added in version 2.7.0 of Genesis to modify the default output for the more text used with the_content_limit() and the_content() functions in genesis.

Add the following PHP code to your child themes functions file.

add_filter( 'genesis_more_text', 'filter_genesis_more_text' );
function filter_genesis_more_text() {

	$more_text = genesis_a11y_more_link( __( 'Modified Read more...', 'genesis' ) );
	
	return $more_text;
	
}

Here’s the result :

Unfiltered ( Default )
Unfiltered ( Default )
Filtered ( Modified Text )
Filtered ( Modified Text )

Show’s the default ( unfiltered ) & modified ( filtered ) result in the HTML output. Only the link text has changed.

Read More

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.