Customize Next/Previous Links on Posts

Community Forums Forums Design Tips and Tricks Customize Next/Previous Links on Posts

This topic is: not resolved

Tagged: , ,

This topic contains 1 reply, has 1 voice, and was last updated by  jorwesflow 2 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #67012


    I have styled the links just fine, but it’s the text and arrows I’d like to be able to change to something custom. How is this achieved? I’ve seen a lot of stuff around the www that just isn’t quite working for me.


    Okay, in genesis/lib/structure/post.php there’s this:

    function genesis_prev_next_posts_nav() {
    	$prev_link = get_previous_posts_link( apply_filters( 'genesis_prev_link_text', '«' . __( 'Previous Page', 'genesis' ) ) );
    	$next_link = get_next_posts_link( apply_filters( 'genesis_next_link_text', __( 'Next Page', 'genesis' ) . '»' ) );

    But how do I change this properly in my child theme?
    And more specifically, how would I change the ascii double angle quotes ( « and » ) to something of my choice? i.e. a custom background image like an arrow?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.