Customizing the 'Read More' text
Put this into your child theme functions.php, make certain that your child theme is active.
/* Customize the 'Read More' text. */ // Remove parent theme filters. function themo_child_remove_filters() { remove_filter( 'get_the_excerpt', 'themo_custom_excerpt_more' ); remove_filter('excerpt_more', 'roots_excerpt_more'); } add_action( 'after_setup_theme', 'themo_child_remove_filters' ); // Customize the 'Read More' when explicitly using excerpt function themo_child_custom_excerpt( $output ) { if ( (has_excerpt() || themo_has_more()) && ! is_attachment() && get_post_type() != 'themo_room') { $output .= ' TEST1 … <a href="' . esc_url(get_permalink()) . '">' . esc_html__('Read More', 'bellevue') . '</a>'; } return $output; } add_filter( 'get_the_excerpt', 'themo_child_custom_excerpt' ); // Customize the 'Read More' when using auto excerpts function themo_child_roots_excerpt($more) { if (get_post_type() != 'themo_room') { return ' TEST2 … <a href="' . esc_url(get_permalink()) . '">' . esc_html__('Read More', 'bellevue') . '</a>'; } } add_filter('excerpt_more', 'themo_child_roots_excerpt');