Problem with Rss_feed Description in a custom post

Asked

Viewed 11 times

1

I have the following problem: I have a custom post that has some social Buttons (short, share)... Since 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 takes 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>

Someone would have a solution to this problem?

  • The buttons are inside the content of each post? Type with shortcodes?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.