Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm working with a blank theme and my nav.php looks like this

<div class="navigation">
<div class="next-posts" style="float: left;"><?php next_posts_link('&laquo; Older Entries') ?></div>
<div class="prev-posts" style="float: right;"><?php previous_posts_link('Newer Entries &raquo;') ?></div>

My question is, how do I change the text links into image links?

share|improve this question
    
What sort of image links? Like just a standard image for each? Or you want it pulled from the actual post? If so, attached images, or featured image? –  Rev. Voodoo Mar 28 '11 at 21:01
    
I have some buttons I want to use in place of the words "Older Entries" and "Newer Entries." So not ones pulled from the post, just standard images (ex/ blog.studentlife.uiowa.edu/svp/wp-content/themes/svp/images/…) –  Maddy Mar 28 '11 at 21:16
    
Style them with CSS? –  t31os Mar 28 '11 at 21:45
    
Explain further? I can make them background images but then how do I make them link? There has to be something simpler than using a plugin –  Maddy Mar 28 '11 at 21:57
    
kinocreative.co.uk/hints-and-tips/… seems to be a good writeup, you can just add the links in as variables to next/previous posts link –  Rev. Voodoo Mar 28 '11 at 22:37
show 4 more comments

1 Answer 1

up vote 0 down vote accepted

Maybe my (edu) plugin can help you understanding the ways that are possible to display pagination a little better.

I updated it after reading your Q. You can now more easily style your links. Just add your buttons as background-images to the stylesheet.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.