• I’ve been looking everywhere for a content extender plugin to integrate into a daily email that sends out the full text of a custom post type, generated daily. I tried adding ?post_type= query into the feed and tried to tack it onto the end of the “secret key” but it’s still not calling up my custom post type. Is there a way to achieve this?

    https://www.ads-software.com/plugins/sb-rss-feed-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ladislav.soukup

    (@ladislavsoukupgmailcom)

    hello,
    the “correct” feed for custom post type is:

    You need to setup the post_type so it has an archive (has_archive = true [default]), then the archive page for the custom post type will exists and you just add the “/feed” to the end of url… like:

    for post type registered as “register_post_type( ‘radio’, $args );”
    feed will be https://domain.com/radio/feed/?fsk=xxx (with the ?fsk= at the end)

    OR you can use the ?post_ype” query like (with the &fsk= at the end):
    https://domain.com/feed/?post_type=radio&fsk=xxx

    both ways should work, but may depend on some configuration of your wordpress and custom post type.

    Thread Starter alephsociety

    (@alephsociety)

    That’s so great! It worked! Now the question is, can I preserve the HTML tags? is there a way to do that in this plugin, or do I have to edit the RSS code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘RSS for custom post type query’ is closed to new replies.