WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Linchpin – PrevNextPage] Image as link?

[Resolved] [Plugin: Linchpin – PrevNextPage] Image as link?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aaron Ware
    Member

    @aware

    Hi Bret,

    There isn’t necessarily a way in the plugin itself to define an image to be used with the link. BUT what you could do is style each button utilizing css.

    All you need to do is define the link_class argument

    <?php next_page_link( array ( 'link_class' => 'my-custom-class' ) ); ?>
    <?php previous_page_link( array ( 'link_class' => 'my-custom-class' ) ); ?>

    If you truly need an image as your links. I could add in a feature to the plugin to be able to change/define markup. I think the css class declaration should do the trick though

    Plugin Author Aaron Ware
    Member

    @aware

    Hi Bret,

    Didn’t hear from you. I did some testing and what I posted should do the trick. If you do need the image markup itself let me know and I can put it in the queue to implement.

    bret_wieseler
    Member

    @bret_wieseler

    Thanks Aaron.

    Seeing as I”m a novice at this stuff I would prefer to use an image rather than styling using CSS. Adding the markup would be greatly appreciated.

    Thanks for all your time and effort.

    -Bret

    Rae Nester
    Member

    @rae-nester

    Found this very helpful as i wanted to add an arrow graphic along with the text and this worked perfectly. Thank you.

    Plugin Author Aaron Ware
    Member

    @aware

    Glad it worked for you @rae-nester! If you could give an “it works” and a rating that would be awesome. Also if you have any features or bugs let me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Linchpin – PrevNextPage] Image as link?’ is closed to new replies.