Adding thumbnail to previous post link
-
Hi all
On my site (http://olivermarshall.net) I have a link underneath the post taking the user to the previous post and the next post. It shows the post title as a link.
However my theme doesn’t support a thumbnail with the link, and I want to include a thumbnail.
The content-single file has this code;
<div class=”nav-previous”><?php previous_post_link(); ?></div>
<div class=”nav-next”><?php next_post_link(); ?></div>Can I add the thumbnail to those two links show that it shows a thumbail with the title of the post as a link? If so, any ideas as to how?
Olly
- The topic ‘Adding thumbnail to previous post link’ is closed to new replies.