• I’d like to upload an image of custom arrows to my theme and insert them in the place of “Older Posts” and “Newer Posts” that are at the footer of my site. I think I have to make the change in the Loop of my Twenty Ten child theme, but not sure which part of the code to edit exactly. Help please!

    https://thewildfleur.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • but not sure which part of the code to edit exactly

    the code is right at the beginning (after the commented part) of loop.php, and right at the end;

    <?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?>
    <?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>

    https://codex.www.ads-software.com/Function_Reference/next_posts_link
    https://codex.www.ads-software.com/Function_Reference/previous_posts_link

    example:

    <?php previous_posts_link('<span class="meta-nav"><img src="https://FULL_PATH_TO_IMAGE/new_arrow.jpg" alt="" /></span>'); ?>

    Thread Starter camilledemondesir

    (@camilledemondesir)

    Thanks, it works for the arrows at the top of the page but not at the bottom. I still have the standard “Older Posts” and “Newer Posts” at the footer. Where else should I make edits?

    the code is right at the beginning (after the commented part) of loop.php, and right at the end;

    have you edited the code section at the bottom of loop.php as well?

    Thread Starter camilledemondesir

    (@camilledemondesir)

    Oh ok! Sorry, I hadn’t realized the code was at the end as well. Thanks so much for your help.

    Thread Starter camilledemondesir

    (@camilledemondesir)

    Actually, I have one more question if you wouldn’t mind answering it!

    I’d like to upload an image of a line border to place in between each post blog (as a divider). Where in the Twenty Ten theme can I insert the url of the image?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing "Older/Newer Posts" image in Twenty Ten Theme’ is closed to new replies.