RSS Posts

How to add custom post types to your default RSS feed 1

How to add custom post types to your default RSS feed

By Pieter Hartsook / March 27, 2020 / 0 Comments
Posted in , , ,

RSS readers are somewhat old school in 2020, but the RSS feed that is part of WordPress is used by email services like Mailchimp and Mailerlite to create automated email updates when you add a new post to your website. If you have custom post types though, they are not included in the default URL: https://yoursite.com/feed

Read More
A bit of PHP to preserve html formatting in standard WordPress excerpts 2

A bit of PHP to preserve html formatting in standard WordPress excerpts

By Pieter Hartsook / March 30, 2020 / 2 Comments
Posted in , , ,

If you don’t use the Excerpt field in your posts and rely on WordPress to grab the first few dozen words of your post content what you usually find is the excerpt when displayed on the front end (usually in some sort of archive or post grid display) will have most of the html tags removed leaving you with a single block of plain text. If I go to the bother of formatting my post […]

Read More
Skip to content