Hi @jbgglgdev,
What do you mean by single text? You should be able to filter the <h2>
markup inside of the post navigation using some of the built in filters in WordPress core.
If you are using a child theme, you can add the following function to your themes functions.php file. If not, you may want to setup an MU plugin to add the code to. We have setup a documentation page outlining how you can setup an MU plugin on our Github repo for this theme, here.
/**
* Filter the post navigation screen reader text.
*
* @author GoDaddy
*
* @param string $template Markup for the screen reader text.
* @param string $class Screen reader navigation class.
*
* @return Markup for the post navigation template.
*/
add_filter( 'navigation_markup_template', function navigation_markup_filter( $template, $class ) {
return str_replace( 'h2', 'span', $template );
}, 10, 2 );
Once added to functions.php of your child theme or the MU plugin you can save the file. The <h2>
inside of the post navigation markup should then me set to <span>
tags. You can set span
to any element you’d like to use.
Let us know if that helps.
Best,
Evan