Support » Fixing WordPress » Change Navigation title

Viewing 1 replies (of 1 total)
  • Hello,
    did you mean “Older Articles” black button?
    You need to override one of your theme functions.
    For doing this the best and recommended way is to create a child theme first, then create a functions.php file to your child theme dir, and write a function athemes_content_nav in your child theme functions which overrides the parent theme.
    You could copy all the function from functions.php of your parent theme and change only this part, where you can see the text displayed within the button:

    <?php elseif ( $wp_query->max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?>
    		<?php if ( get_next_posts_link() ) : ?>
    		<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav"><i class="ico-left-open"></i></span> Older Articles', 'athemes' ) ); ?></div>
    		<?php endif; ?>
    		<?php if ( get_previous_posts_link() ) : ?>
    		<div class="nav-next"><?php previous_posts_link( __( 'Newer Articles <span class="meta-nav"><i class="ico-right-open"></i></span>', 'athemes' ) ); ?></div>
    		<?php endif; ?>
    	<?php endif; ?>

    Hope it helps, cheers

Viewing 1 replies (of 1 total)
  • The topic ‘Change Navigation title’ is closed to new replies.