Problem with RSS_feed description in a custom post

1

I have the following problem: I have a custom post that has some social buttons (short, share) ... As the custom post does not appear by default in the feed, I am using the following function:

function add_events_to_rss_feed( $args ) {
if ( isset( $args['feed'] ) && !isset( $args['post_type'] ) )
$args['post_type'] = array('post', 'tribe_events');
return $args;
}

The problem is that the feed gets these social buttons and plays in my newsletter (mailchimp) ... getting like this

<description><![CDATA[Facebook Twitter Google+ A partir daqui que quero que comece [..]!> </description>

Would anyone have a solution to this problem?

    
asked by anonymous 03.12.2017 / 21:22

0 answers