WordPress.org

Ready to get started?Download WordPress

Forums

alt text in "next_post_link" with img. (1 post)

  1. 2_k
    Member
    Posted 4 years ago #

    Hi there, i use the simular code:

    <div class="navigation-previous"><?php previous_post_link('%link', '<img src="http://localhost/website.gif" alt="Previous" />') ?></div>

    Is there any way to change the alt="" text to next/previous post title?

Topic Closed

This topic has been closed to new replies.

About this Topic