WordPress.org

Support

Support » How-To and Troubleshooting » using shortcode in excerpt

using shortcode in excerpt

  • Anyone knows how to use shortcode in excerpt?

    I tried adding filter as follow, but doesn’t work.

    add_filter( 'the_excerpt', 'shortcode_unautop');
    add_filter( 'the_excerpt', 'do_shortcode');

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘using shortcode in excerpt’ is closed to new replies.
Skip to toolbar