I’m trying to use an image for the previous and next post links. The following line of code was rejected as I should use the get_template_directory_uri(). How should I amend the following code in php to include this function?
<?php next_posts_link('<img src="./wp-content/themes/Icecap/images/next.png" />'); ?>
They’re talking about not using
/wp-content/themes/etc paths.So, this should work: