Title: Custom Post Type Feed
Last modified: February 6, 2018

---

# Custom Post Type Feed

 *  Resolved [thatcodemonkey](https://wordpress.org/support/users/thatcodemonkey/)
 * (@thatcodemonkey)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-post-type-feed/)
 * Hi there,
    Hello Matthias,
 * Thanks for the great plugin!
    Is it possible to send a specific feed (/feed/?
   post_type=news) to the hubs? Normal posts get pushed thru, no problem. But if
   I subscribe to a specific feed url like `mydomain.com/feed/?post_type=xyz` the
   push seems not to work, or very delayed (maybe also pulled by the reader itself).
 * Do I need to add a Topic URL somehow?
    Thanks in advance!
    -  This topic was modified 8 years, 4 months ago by [thatcodemonkey](https://wordpress.org/support/users/thatcodemonkey/).
    -  This topic was modified 8 years, 4 months ago by [thatcodemonkey](https://wordpress.org/support/users/thatcodemonkey/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [thatcodemonkey](https://wordpress.org/support/users/thatcodemonkey/)
 * (@thatcodemonkey)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-post-type-feed/#post-9942482)
 * I noticed that the `<atom:link rel="hub" […]>` tag is missing in my custom post
   type feed xml. Maybe that helps narrowing down the problem?
 *  Thread Starter [thatcodemonkey](https://wordpress.org/support/users/thatcodemonkey/)
 * (@thatcodemonkey)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-post-type-feed/#post-9943961)
 * Update: After some digging I realized, that the action hook `'publish_post'` 
   does not fire, when a custom post type is published. One has to use another hook
   like `'publish_{{custom_post_type}}'` to catch the publishing and kick-on the
   push to the hub.
    In my case I added `add_action( 'publish_news', array( 'PubSubHubbub_Plugin','
   publish_post' ) );` to the init() funtion in **pubsubhubbub.php**
    -  This reply was modified 8 years, 4 months ago by [thatcodemonkey](https://wordpress.org/support/users/thatcodemonkey/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Post Type Feed’ is closed to new replies.

 * ![](https://ps.w.org/pubsubhubbub/assets/icon.svg?rev=3086356)
 * [WebSub (FKA. PubSubHubbub)](https://wordpress.org/plugins/pubsubhubbub/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pubsubhubbub/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pubsubhubbub/)
 * [Active Topics](https://wordpress.org/support/plugin/pubsubhubbub/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pubsubhubbub/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pubsubhubbub/reviews/)

## Tags

 * [cpt](https://wordpress.org/support/topic-tag/cpt/)
 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [feed url](https://wordpress.org/support/topic-tag/feed-url/)

 * 2 replies
 * 1 participant
 * Last reply from: [thatcodemonkey](https://wordpress.org/support/users/thatcodemonkey/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/custom-post-type-feed/#post-9943961)
 * Status: resolved