- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
MisterB
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220In Germany there’s the need to run this plugin when Akismet is used. It shows a disclaimer with a checkbox in the comment form. This plugin requires that the comments.php must be updated with this code:
I inserted the code at the end of the comments.php before the /div which looks like this:
Doing that the disclaimer arises in the comment form as wished, but a side effect is, that the disclaimer also arises on static pages where the comment function is disabled. I tried the plugin code on different positions within the comments.php but all test are producing the same result.
The question is now how to modify the comments.php to get this working correct (show the disclaimer only when the comment form is displayed).
My WP is 3.3.1, Minimatica is 1.08
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236MisterB
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Ups, sample code lost. Can i use BBCodes here?
You must be logged in to reply to this topic.