WordPress.org

Ready to get started?Download WordPress

Forums

previous_post_link - truncate (1 post)

  1. jimmyt1988
    Member
    Posted 3 years ago #

    Hi all,

    I want to have a next and last post link...

    If i use:

    previous_post_link('%link');

    I am returned the full title of the last post... I would like to be able to truncate it to; for example, 100 characters...

    How do I do this?

Topic Closed

This topic has been closed to new replies.

About this Topic