adding images to wordpress pagination?
-
16-10-2019 - |
Question
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('« Older Entries') ?></div>
<div class="prev-posts" style="float: right;"><?php previous_posts_link('Newer Entries »') ?></div>
My question is, how do I change the text links into image links?
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange