Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #367093

    I have a video shortcode (video post type) at the top of my post and when the WordPress.com “new post” email goes out to subscribers it shows the shortcode in the post summary. See pic: http://cl.ly/image/172j0b2c052j/Ember%20Library%20Mediator.png

    Here is a link to that post: http://www.audiopassion.net/waves-new-codex-wavetable-synth/

    It happens with any post that has a shortcode in it. Is there a way to hide it?

    -Thanks

    #367423

    Hi mtmfx!

    Try adding this to the bottom of your functions.php file and let us know if that works.

    add_filter( 'the_content', 'enfold_customization_stripfeedcodes' );
    function enfold_customization_stripfeedcodes( $content ) {
    	if ( is_feed() ) {
    		return strip_shortcodes( $content );
    	} else { return $content; }
    }

    Regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.