• Resolved andrewkro

    (@andrewkro)


    Hi!

    I have a strange problem. When I create a new post with several paragraphs, the post displays as a one-block text. (as you can see at https://www.imrannaseem.com/)

    The text format is set up to Paragraph. I switched to html mode and noticed that there’s no <p> tags there. I tried to enter them manually, but they just disappear.

    Anyone knows what might be the reason?

    I’d be grateful for any suggestions, I just can’t figure it out.

    Andrew

Viewing 4 replies - 1 through 4 (of 4 total)
  • There’s nothing wrong with your posts. They all have <p></p> tags. However, your theme’s index.php uses the_excerpt() which strips out all formatting – including <p></p> tags.

    Thread Starter andrewkro

    (@andrewkro)

    Esmi, thanks so much for reply! Finally it’s no longer a mystery. ??

    Is there a way to show the_excerpt() with proper formatting?

    You could try creating a custom excerpt by using the Optional Excerpt box in Admin/Edit Post. Or change your index.php template file to use the_content() instead.

    Thread Starter andrewkro

    (@andrewkro)

    thanks!

    I ended up installing the Advanced Excerpt plugin and everything works great now.

    I really appreciate the help.

    Andrew

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘<p> tags not inserting onto posts’ is closed to new replies.