Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #503402

    Hi!
    I have a simple post where I want to have opening hours listed on different lines. The actual post shows the line breaks but regardless if I use unordered lists, <p> or </br> I still don’t get the line breaks to show in the excerpt.

    #503515

    Hey ThomasNorden!

    It should be <br /> not </br>. The excerpt will strip formatting though so what you can do is create a custom excerpt when you edit your post. Click on “Screen Options” in the top right hand corner of your screen and check the excerpt field to display and then scroll down and type out whatever you want to display in the excerpt.

    Regards,
    Elliott

    • This reply was modified 9 years, 3 months ago by Elliott.
    #503589

    Making a custom excerpt did the trick!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Line break in post excerpts?’ is closed to new replies.