• I’ve been using the following code to manually control the excerpt length. However when calling the excerpt using <?php echo excerpt(75); ?> any line breaks in the original excerpt get stripped out. Is there a way I can fix it so they are retained?

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multiple excerpt lengths without stripping p tags?’ is closed to new replies.