Using Images in Previous Posts Link
-
I’ve searched the forums and found a thread on how to use an image in the “Next” and “Previous” post (singular) – but I don’t see any about this:
I’d like to show the previous posts LINK on the main blog page (like the previous 10 posts link) as an IMAGE. The normal way with text is like this:
<?php next_posts_link(‘« Older Entries’) ?>
I’ve tried it like this:
<?php next_posts_link('<img src="previous.gif" align="right" alt="" />') ?>
Doesn’t work.
Sucks because using images for the previous posts link (like on single posts) works fine like this:
<?php next_post_link('%link', '<img src="next.gif" align="right" alt="" />'); ?>
Any ideas?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Using Images in Previous Posts Link’ is closed to new replies.