Shortcode Exec PHP
[resolved] Use Shortcode in Comments (2 posts)

  1. bo0bee
    Posted 4 years ago #

    I need help using this plugin in the comments section. I've already enabled normal shortcodes that require a closing tag using the code below but can't figure out a way to get this plugin to work in the comments section.

    Code used in functions.php :
    add_filter( 'comment_text', 'shortcode_unautop');
    add_filter( 'comment_text', 'do_shortcode' );

    Please Help!!!!!


  2. M66B
    Plugin Contributor

    Posted 4 years ago #

    Just enable the plugin option 'Execute shortcodes in comments'. If it doesn't work, your theme is doing something non-standard.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic