WordPress.org

Ready to get started?Download WordPress

Forums

Next - Previous (links out of control) (1 post)

  1. TheDad
    Member
    Posted 6 years ago #

    I'm looking for a way to limit the # of characters and strip out html code from next - previous links.

    Some of the post titles are long, and have breaks and different font sizes in them. For example

    Here is the code I am using.

    <?php previous_post('&laquo; Previous %','','yes') ?>
    <?php next_post('% Next &raquo;','','yes') ?>

    Any help would be appreciate.

Topic Closed

This topic has been closed to new replies.

About this Topic