WordPress.org

Forums

WP-PageNavi
Replace 'text for prev/next page' with images (3 posts)

  1. navyspitfire
    Member
    Posted 1 year ago #

    Like the title says, I would like to change the prev/next text with actual images, not sure how though.

    http://wordpress.org/plugins/wp-pagenavi/

  2. mhmdshv
    Member
    Posted 1 year ago #

    hi.
    well that won't be tough. you just have to first clear the "Text For Previous Page" and "Text For Next Page" boxes in the admin panel, and then add a code in you css file for the following style:

    .nextpostslink { background:url(your image url) no-repeat}
    &
    .previouspostslink { background:url(your image url) no-repeat}

    "your image url" is the link t the image you wanna use. like : images/myimage.png

    you should use the url WITHOUT quotes.

    that's all.

  3. navyspitfire
    Member
    Posted 1 year ago #

    Doesn't work; it seems that there has to be some text in the 'text for...' boxes or else the classes won't appear.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags