Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: Help with RSS feed
    Thread Starter MDeschenes

    (@mdeschenes)

    I was able to solve the problem with this code snippet I added to the function.php of my theme, the array part solves the issue I had with custom post types:

    function myfeed_request($qv) {
    	    if (isset($qv['feed']) && !isset($qv['post_type']))
    	        $qv['post_type'] = array('post', 'tcp_product', 'tcp_template' );
    	    return $qv;
    	}
    add_filter('request', 'myfeed_request');

    Thanks!

    Forum: Fixing WordPress
    In reply to: Help with RSS feed
    Thread Starter MDeschenes

    (@mdeschenes)

    Thanks for your answer. I’m using the TheCartPress plugin, which uses custom post types. I will look for a way to feed those posts.

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