created post displaying differently on front end

I managed to sort the problem by adding this CSS to the bottom of my main-styles.css file p { display: block; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; } It also fixed all the issues with the images that I mentioned above and the line breaks that were not appearing on the front end. … Read more

Group first, 2nd, 3rd, etc posts by category terms

I’m still trying to determine exactly why this works, but it works. Still refining it and will post updates, but feel free anyone to improve upon this. It was modified from this post. <?php $a1 = get_posts(array( ‘post_type’ => ‘post’, ‘posts_per_page’ => ‘-1’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘category’, ‘field’ => ‘slug’, ‘terms’ => … Read more

How to preserve HTML from posts in RSS feed

Turns out that this behavior was being caused by a plug-in with a default setting to convert all posts into excerpts, thereby stripping the markup. I determined this by standing up a stock WordPress instance with none of my customizations or theme, replicating the installed plug-ins (just their existence, not their settings), and checking the … Read more