Support » Plugins » images in posts_nav_link

  • Joebar

    (@joebar)


    Is there a way to use next/previous images instead of text with posts_nav_link (or some kind of plugin)?

    Couldn’t find anything searching here or google for the past 20 minutes. Best I could find was a post navigation image plugin, but I want to be able to use next/prev images throughout my index, archives, etc..

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joebar

    (@joebar)

    nobody?

    Joshua Sigar

    (@alphaoide)

    You probably can do something like this.
    <?php
    posts_nav_link(' ',
    '<img src="images/prev.jpg" />',
    '<img src="images/next.jpg" />');
    ?>

    Joebar

    (@joebar)

    Yea? Seemed too obvious to work 😉 Thought those fields were for text only — will have to give it a shot later.

    thx

    Joebar

    (@joebar)

    Just wanted to check back in to say that this does indeed work… Maybe it oughtta be mentioned in the codex?

    moshu

    (@moshu)

    Being a community project – feel free to add this piece of info to the relevant place 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘images in posts_nav_link’ is closed to new replies.