I am trying to set a podpress feed setup for my custom post type. I’ve got everything showing in the feed just like I want it, except I can’t seem to get the custom posts to show up with the built in UI features. I know there is a way to get them to show up if you add a query string to the URL, but I don’t like this method as it makes the URL not very SEO.
Here’s a couple of reasons/limitations that I observed when playing with it:
1) I can’t use the file type filter, because it seems to only apply where post_type is “post”
2) I can’t use the category filter, because it also seems to only show categories from “posts” and therefore I can’t select the categories I have assigned to my custom post type.
What I think would work great is if you could add a third additional “pre-filter” that would let you filter for the feed by post_type… showing the built in types plus any custom ones that have been registered in the system (I’ve seen you already have this under general settings, to allow you to add the podpress editor to the custom post type editor screens, which is GREAT!). Seems the WP_Query function allows you to do “any” or a list of selected post types:
Once you have this “pre-filter” selected, the categories filter could potentially update to filter down to the categories that apply to the post types you have selected.
I dug into the code a little bit and I have temporarily fixed this for myself by adding the following code to line 1059 of podpress.php (I’m using 22.214.171.124):
This forces all podpress feeds to only show content that has a post type of “com_sermon”, which is the post type of my custom type. This will work fine for me, but I think a great enhancement would be what I have suggested above, so that the code doesn’t need to be edited.
By the way, here’s my (temporary) feed:
- The topic ‘Creating podPress feeds for Custom Post Types’ is closed to new replies.