How to keep the formatting of the text in the Blog Posts block?
-
I am struggling to find how you keep the formatting from the text in the blog post block.
On the front page it works fine, but if I apply the blog post block to the “dikt” page on the menu bar it doesnt keep the formatting when it displays several posts.
Is there anyway to add the front page block to any other pages and customize is so it displays a certain category as you can with the blog posts block?
ThanksThe blog I need help with is: (visible only to logged in users)
-
Why Formatting is Stripped
By default, WordPress post grids (like the Blog Posts block or standard archive views) display post excerpts rather than full post content. Automatic excerpts strip out HTML tags, custom line breaks, and styling to keep card layouts consistent.Solution 1: Switch from Excerpt to Full Post Content
If you want to preserve full text formatting (bold text, custom line breaks, lists, etc.) inside the Blog Posts block:
- Select the Blog Posts block in the Block Editor.
- Open the Block Settings sidebar on the right.
- Look for the Display Settings panel.
- Toggle Show Excerpt off, or change the post view setting from Excerpt to Full Post.
Note: If posts become too long when showing full content, insert a More block into your individual posts right after the intro paragraph to control where the preview cuts off.
Solution 2: Use the Query Loop Block (Recommended for Custom Filtering)
If you want to replicate your front page layout on other pages while filtering by specific categories:
- Add a Query Loop block to your page instead of the Blog Posts block.
- Choose a layout pattern or start blank.
- In the block sidebar under Filters, add a Taxonomy Filter and select your desired Category (e.g., dikt).
- Inside the Query Loop template, replace the Post Excerpt block with the Post Content block. This displays the post’s exact formatting without stripping styles.