• I am replacing the “Previous Page” and “Next Page”
    with this code.

    <?php posts_nav_link(‘ ‘, ‘<img src=”images/prev.jpg” />’, ‘<img src=”images/next.jpg” />’); ?>

    But I need to call the images from the theme folder using this code:

    <img src=”<?php bloginfo(‘template_directory’); ?>/images/date.gif” />

    Because that contains PHP itself, it doesn’t work.

    So, how do I call the template directory when the image tag is in php code to start?

    I’d also like to know if I can keep the text and have an image beside it?

    ie; <IMAGE>Previous Page

    Thanks.

  • The topic ‘Using images for navigation, how to put the path?’ is closed to new replies.