Support » Plugin: Advanced Excerpt » oEmbed in excerpts

  • First thing first: this is a great plugin, solved many of my problems. Thanks a lot.

    Now, I’m trying to enable oEmbed on my Excerpts, so I put this snippet in my theme’s functions file:

    add_filter(‘the_excerpt’, array($GLOBALS[‘wp_embed’], ‘autoembed’), 9);

    Then I paste a youtube link in the Excerpts field, but WordPress just displays the link, not the video. I don know if there is a setting for this and I’m not able to find it. Otherwise, could you take a look at it?

    Thanks in advance!

  • The topic ‘oEmbed in excerpts’ is closed to new replies.