• Resolved Sapient Creative Services

    (@sapientcreative)


    Excellent plugin! With the new release, it appears that the auto-generated cookie policy page now has a Data Request form in the Introduction directly above the “2. Cookies” section. Is there a way to remove this Data Request form from the auto-generated Cookie Policy page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hello @sapientcreative,

    This form is added to your US Cookie Policy page when enabling the Purpose “to sell or share data with a third party” due to legal requirement(s).

    You could hide it entirely with CSS, if desired. Adding the below CSS to Appearance > Customize > Additional CSS will do that:

    .cmplz-document form#cmplz-datarequest-form { display: none; }

    Hope it helps!
    Kind regards,
    Jarno

    Thread Starter Sapient Creative Services

    (@sapientcreative)

    Thank you for the quick reply! It appears that selection within the “Purpose” section of the Wizard is checked by default and will not allow me to uncheck it. I did add the CSS above and it removed the form, but the language about entering information below in the introduction was still present, so it would be confusing to users. Is there a way to edit the dynamic content in the Cookie Policy page? Thank you, again, for your help.

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @sapientcreative,

    You can drop this file in the mu-plugins folder; https://we.tl/t-K0qFDreEFx

    https://complianz.io/adding-filters-with-mu-plugins-quick-easy/

    regards Aert

    PS: The code itself;

    <?php
    /* remove line 1 if implemented in functions.php, instead of an mu-plugin */
    function cmplz_edit_document_html($html, $type, $post_id){
      $old_string = "You may request that we exclude your personal information from such arrangements, or direct us to limit the use and disclosure of possible sensitive personal information, by entering your name and email address below.";
      $new_string = "You may request that we exclude your personal information from such arrangements, or direct us to limit the use and disclosure of possible sensitive personal information. ";
      $html = str_replace($old_string, $new_string, $html);
    return $html;
    }
    
    add_filter('cmplz_document_html', 'cmplz_edit_document_html', 10, 3);
    Thread Starter Sapient Creative Services

    (@sapientcreative)

    Excellent. Worked perfectly just adding the PHP snippet. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is It Possible to Remove Data Request Form on Auto-Generated Cookie Policy Page?’ is closed to new replies.