Articles on: Developers

Filter Hook: Read More

Zakra provides you various filter hooks to modify Read More tag as per your need. They are listed as below:

zakra_read_more_style: This filter allows you to extend the read more style choices available in the Customizer.

zakra_read_more_text: You can modify Read More text using this filter.

zakra_read_more_wrapper_class: This filter allows you to add your custom CSS class into read more.

Example:
To change read more text:

function custom_read_more() {

	return 'Continue Reading....';
}
add_filter( 'zakra_read_more_text', 'custom_read_more' );



To know how to use a hook, refer to this: How to use Hooks in Zakra Theme?

Updated on: 13/09/2019

Was this article helpful?

Share your feedback

Cancel

Thank you!