• Resolved Jan Northoff

    (@jan-northoff)


    hy!

    i am trying to implement the great plugin, but even when the checkbox is checked it returns:
    Achtung: Du hast die datenschutzrechtlichen Hinweise nicht akzeptiert.

    using wordpress 3.5.2 wiht CORPO theme.

    here is my complete comments.php from that theme. I pasted the necessary line at the end, but also tried to put it into the array.

    <div id="comments">
    
    	<?php if (post_password_required()) : ?>
    	<p><?php _e( 'Post is password protected. Enter the password to view any comments.', 'corpo' ); ?></p>
    </div>
    
    	<?php return; endif; ?>
    
    <?php if (have_comments()) : ?>
    
    	<h2><?php comments_number(); ?></h2>
    
    	<ol class="commentlist">
    		<?php wp_list_comments('type=all&callback=corpo_comments'); // Custom callback in functions.php ?>
    	</ol>
    
        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
    		<div class="wp-pagenavi">
    			<div class="alignleft"><?php previous_comments_link( __( '← Older Comments', 'corpo' ) ); ?></div>
    			<div class="alignright"><?php next_comments_link( __( 'Newer Comments →', 'corpo' ) ); ?></div>
    		</div>
        <?php endif; // check for comment navigation ?>
    
    <?php elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
    
    	<p><?php _e( 'Comments are closed.', 'corpo' ); ?></p>
    
    <?php endif; ?>
    
    <?php 
    
        comment_form(array(
            'comment_notes_before' => '',
            'comment_notes_after' => ''
    
    	)
        ); 
    
    ?>
                    <?php do_action( 'akismet_privacy_policies' ); ?>
    
    </div>

    Thanks for Help!!!

    btw here is the site:
    http://3d-druck-shop.youin3d.com

    http://wordpress.org/plugins/akismet-privacy-policies/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Bueltge

    (@bueltge)

    The hook is on the wrong template. Your comment form get it from the function comment_form and in this default core function is the default hook for the plugin. The plugin use on default the hook comment_form_defaults, there is inside this function; see source of comment_form Remove the line <?php do_action( 'akismet_privacy_policies' ); ?> and maybe it works.

    Thread Starter Jan Northoff

    (@jan-northoff)

    Thanks Frank!

    Works perfect now, as you said:
    i inserted just before the in comment-template.php at line 1581: <?php do_action( ‘akismet_privacy_policies’ ); ?>
    so it looks like:

    1580                         <?php do_action( 'comment_form', $post_id ); ?>
    1581                            <?php do_action( 'akismet_privacy_policies' ); ?>
    1582                     </form>

    Thanks again for great support!
    greetings from the 3D Printer Store in Berlin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with corpo theme’ is closed to new replies.