WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bo0bee
    Member
    Posted 2 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!!!!!

    http://wordpress.org/extend/plugins/shortcode-exec-php/

  2. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 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