bgbs Posted June 2, 2011 Share Posted June 2, 2011 How do I correctly display image? <div class="nav-right"><?php next_posts_link('<img src="images/more-but.png" />') ?></div> I must be writing it incorrectly. Thanks in advance Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted June 2, 2011 Share Posted June 2, 2011 What is this code from? Quote Link to comment Share on other sites More sharing options...
cyberRobot Posted June 3, 2011 Share Posted June 3, 2011 Is this for a WordPress website? If so, it looks like you can use the posts_nav_link() function to replace the next/previous post links with images. For more information, visit the Codex: http://codex.wordpress.org/Function_Reference/posts_nav_link Quote Link to comment Share on other sites More sharing options...
AndyB Posted June 6, 2011 Share Posted June 6, 2011 How do I correctly display image? <div class="nav-right"><?php next_posts_link('img src="images/more-but.png" />') ?></div> <?php echo '<img src="images/more-but.png"/>'?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.