How do I remove [facebook Twitter Google ] from my RSS feed?

  • Unknown's avatar

    Hi there,

    I’m using custom posts in my blog and wanted it to show up in the rss feed. This has been acomplished by 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;
    }
    Thing is, the rss feed is picking up the social media share buttons (facebook, twitter, g+ etc) I have on the page, which I definitely don’t want. Something like this:
    <description><![CDATA[Facebook Twitter Google+ text-text-text [..]!> </description>

    Any ideas on how to get rid of the [facebook Twitter Google+] from my RSS feed?

  • Hi there,

    Looks like you’re in the wrong forum. It appears that you’re using the self-hosted version of WordPress and you need to seek help at the WordPress.org forums:

    https://wordpress.org/support/

    These forums are for WordPress.com hosted sites only. If you want to know more about the differences between WordPress.com and WordPress.org you can read this document:

    WordPress.com vs. WordPress.org

  • The topic ‘How do I remove [facebook Twitter Google ] from my RSS feed?’ is closed to new replies.