Adding posts of custom type into the main feed

There seemed to be two easy-to-solve problems:

  • The function was being declared twice without checking if it already existed.
  • After solving that issue, i needed to post a “post” post to refresh the feed, but after that custom post types appeared in the feed without further refreshing nor publishing standard posts.

Leave a Comment