• Resolved davetrow

    (@davetrow)


    I like the comment count in the posts, but not in the RSS feed. How does one eliminate that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi dave, you can avoid that adding this to your child-theme functions.php:

    add_action('wp', 'remove_title_filters_in_rss', 0);
    function remove_title_filters_in_rss(){
        if ( ! is_feed() )
            return;
    
        if ( method_exists('TC_headings', 'tc_set_post_page_heading_hooks') )
            remove_action( 'wp', array( TC_headings::$instance, 'tc_set_post_page_heading_hooks' ) );
        if ( method_exists('TC_headings', 'tc_set_headings_options') )
            remove_action( 'wp', array( TC_headings::$instance, 'tc_set_headings_options' ) );
    }

    Hi @davetrow
    this issue has been fixed in the upcoming Customizr (and Customizr-Pro) release.
    Cheers

    Thread Starter davetrow

    (@davetrow)

    That’s great! Mark this resolved then; I’ll play with the above code until the upgrade; in any case, studying it will advance my still-primitive coding skills.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove comment count from RSS Feed, not post’ is closed to new replies.