Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, danstramer. There are two ways you could go around this:

    1. If you’re OK with digging into code, go into /screens/access_form.php and in line 12 (or so), change

    <?php echo get_option( CONTENT_PROTECTOR_HANDLE . '_form_instructions', CONTENT_PROTECTOR_DEFAULT_FORM_INSTRUCTIONS ); ?>

    to

    <?php echo do_shortcode( get_option( CONTENT_PROTECTOR_HANDLE . '_form_instructions', CONTENT_PROTECTOR_DEFAULT_FORM_INSTRUCTIONS ) ); ?>

    Make a similar edit on line 18 if you want to add shortcodes to the CAPTCHA instructions.

    2. If it’s only a matter of protecting a Contact Form 7 form, you could just add the Contact Form 7 shortcode as the content in your Content Protector shortcode, like this (in pseudo-code):

    [content-protector ...][contact-form-7 shortcode ...][/content-protector]

    -K

    Thread Starter Dan Stramer

    (@danstramer)

    thank you!
    I’ll give it a try
    Dan

    K. Tough

    (@kjvtough)

    Marking as resolved: current versions allow HTML and shortcodes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘enable HTML in the form instruction textarea’ is closed to new replies.