• Resolved Jim Hunter

    (@jdhunter)


    My client does not like the verbiage “Purpose pending investigation” on the cookie-policy-us page. Is there a way I can change that text to something a little ‘softer’? She thinks this makes her site sound ‘scammy’.

    Thanks,
    Jim

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

    (@jarnovos)

    Hi @jdhunter,

    You can use a filter to replace this text. Uploading the below script as a PHP file to the folder /wp-content/mu-plugins/ will do the trick, you only have to change My New Text to the text that you would prefer to display.

    <?php
    function cmplz_edit_document_html($html, $type, $post_id){
      $old_string = "Purpose pending investigation"; 
      $new_string = "My New Text"; 
      $html = str_replace($old_string, $new_string, $html); 
    return $html; 
    }
    
    add_filter('cmplz_document_html', 'cmplz_edit_document_html', 10, 3);

    Schermafbeelding-2021-11-12-om-09-28-21

    Hope it helps!
    Kind regards,
    Jarno

    • This reply was modified 3 years ago by jarnovos.
    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @jdhunter,

    In addition to the solution proposed by @jarnovos, it is also possible to ask here, or on cookiedatabase.org, to put those particular cookies on a fast track in order to speed up the investigation.

    Thread Starter Jim Hunter

    (@jdhunter)

    Thanks to both of you.
    @paapst, there are about 20 cookies in the list, so not a road I want to take.
    @jarnovos, I have a couple plugins that are on the site that I wrote, I’ll add this to the main one, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Purpose pending investigation”’ is closed to new replies.