• It seems the print_cleverreach_form functionality is broken.
    I can display the form via shortcode [cleverreach_signup] but <?php if( function_exists( 'print_cleverreach_form' ) ) print_cleverreach_form(); ?> just displays nothing.

    For now I’m using echo do_shortcode('[cleverreach_signup]');

    Anyway, it’s still not fully working, as I can’t include a link in the ‘privacy policy checkbox’:
    In version 2.2.0 my privacy policy checkbox descriptions reads:
    Ich stimme der Datenschutzerklärung zu.

    Now in 2.3.1 my privacy policy checkbox descriptions reads:
    Ich stimme der <a href='/datenschutz/'>Datenschutzerklärung</a> zu.

    • This topic was modified 2 years, 8 months ago by fseydel.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter fseydel

    (@fseydel)

    As CleverReach seems not available to solve the “no links in privacy checkbox” issue, I digged into their code to solve this issue myself (again).

    It seems CleverReach is overenthusiastic in escaping html. So the solution is:
    In file cleverreach/resources/views/storefront/form.php in line 41 change
    echo esc_html( $attribute->label );
    to
    echo $attribute->label;

Viewing 1 replies (of 1 total)
  • The topic ‘print_cleverreach_form functionality broken in 2.3.0 and 2.3.1’ is closed to new replies.