Support » Plugin: Akismet Anti-Spam » Privacy statement does not point to my policy

  • Resolved backpackingseries

    (@backpackingseries)


    Hi,

    Thank you for the latest version of the plugin. It inserts the GDPR compliant privacy statement below comments section. However, it points to Automattic’s privacy policy.

    Is there a way to make it point to my website’s privacy policy?

    As an example, please try this URL: [ redundant link removed ]
    Kind regards,

    • This topic was modified 11 months, 3 weeks ago by  Andrew Nevins.
    • This topic was modified 11 months, 3 weeks ago by  Jan Dembowski.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there,

    Thank you for updating the status on this thread.

    I’ve got an email requesting to start my own topic as per support guidelines. It’s odd because I did start a new topic!

    Can someone please help resolve my problem?

    Kind regards

    I’ve add this code to functions.php:

    function display_comment_form_privacy_notice_new() {
    	echo apply_filters(
    		'akismet_comment_form_privacy_notice_markup',
    		'<p class="akismet_comment_form_privacy_notice">' . sprintf(
    				__( 'This site uses Akismet to reduce spam. <a href="%s" target="_blank">Learn how your comment data is processed</a>.', 'akismet' ),
    				'http://www.mysite.com/place-here-new-url'
    			) . '</p>'
    		);
    	}
    	
    add_action( 'comment_form_after',  'display_comment_form_privacy_notice_new' );

    … and have set “Do not display privacy notice.” in the Akismet preferences

    @mcgyver70

    Thank you very much.

    I wonder when would Akismet offer something similar, as a configurable option, to allow site owners to select a radio button that says ‘Display your site’s Privacy Notice’.

    Kind regards

    The solution pointed out by @mcgyver70 is the best way to achieve this indeed. That filter was specifically added for this purpose.

    Note that your own privacy policy should still point to https://akismet.com/privacy (which will have the info or redirect to the proper info, as it does now).

    @stephdau

    Thank you for the confirmation.

    Kind regards,

    Sure thing.

    Extra note: to help you with your own privacy policy, Akismet is also integrating with WP’s new privacy tools found in wp-admin/privacy.php, providing you sample text in their “Privacy Policy Guide” page, under wp-admin/tools.php?wp-privacy-policy-guide (see under WordPress’ own text)

    See https://cloudup.com/ce7acVvXq97

    @stephdau

    Thank you for the tip. Yes, the site’s privacy policy is derived from (under CC Sharelike license) and points to Automattic’s privacy policy (and notice).

    @mcgyver70
    Thank you very much for the helpful code!

    Kind regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Privacy statement does not point to my policy’ is closed to new replies.