ThemeShaper Forums » Thematic

[closed]

ADD RSS to CUSTOM POST TYPE

(1 post)
  • Started 3 years ago by Bluesky
  • This topic is resolved
  1. Bluesky
    Member

    I recently installed Custom POst Type UI plugin that gives me what I need.
    But none of the posts send RSS..
    I found the following function taken from http://core.trac.wordpress.org/ticket/12943
    Hw could I safely include it in my functions.php ?

    function myfeed_request($qv) {
    if (isset($qv['feed']))
    $qv['post_type'] = get_post_types();
    return $qv;
    }

    add_filter('request', 'myfeed_request');

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.