WordPress.org

Ready to get started?Download WordPress

Forums

comments
showing comments (1 post)

  1. fotogreef
    Member
    Posted 1 year ago #

    It's not possible to leave any comments. Everything in de main frames is handled for showing and leaving comments, however guess it must be something in the 'theme'. I'm a total nitwit in codes. Anyone can help me out what to change, before I go crazy.

    Thanks a lot in advance!

    <?php
    /**
     * Comments Template
     *
     * Lists comments and calls the comment form.  Individual comments have their own
     * templates.  The hierarchy for these templates is $comment_type.php, comment.php.
     *
     * @package Hybrid
     * @subpackage Template
     */
    
    /* Kill the page if trying to access this template directly. */
    if ( 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) )
    	die( __( 'Please do not load this page directly. Thanks!', hybrid_get_textdomain() ) );
    
    /* If a post password is required or no comments are given and comments/pings are closed, return. */
    if ( post_password_required() || ( !have_comments() && !comments_open() && !pings_open() ) )
    	return;
    ?>
    
    <div id="comments-template">
    
    	<?php if ( have_comments() ) : ?>
    
    		<div id="comments">
    
    			<h3 id="comments-number" class="comments-header"><?php comments_number( sprintf( __( 'No responses to %1$s', hybrid_get_textdomain() ), the_title( '“', '”', false ) ), sprintf( __( 'One response to %1$s', hybrid_get_textdomain() ), the_title( '“', '”', false ) ), sprintf( __( '%1$s responses to %2$s', hybrid_get_textdomain() ), '%', the_title( '“', '”', false ) ) ); ?></h3>
    
    			<?php do_atomic( 'before_comment_list' ); // Before comment list hook ?>
    
    			<ol class="comment-list">
    				<?php wp_list_comments( hybrid_list_comments_args() ); ?>
    			<!-- .comment-list -->
    
    			<?php do_atomic( 'after_comment_list' ); // After comment list hook ?>
    
    			<?php if ( get_option( 'page_comments' ) ) : ?>
    				<div class="comment-navigation comment-pagination paged-navigation">
    					<?php paginate_comments_links(); ?>
    				</div><!-- .comment-navigation -->
    			<?php endif; ?>
    
    		</div><!-- #comments -->
    
    	<?php else : ?>
    
    		<?php if ( pings_open() && !comments_open() ) : ?>
    
    			<p class="comments-closed pings-open">
    				<?php printf( __( 'Comments are closed, but <a href="%1$s" title="Trackback URL for this post">trackbacks</a> and pingbacks are open.', hybrid_get_textdomain() ), trackback_url( '0' ) ); ?>
    			</p><!-- .comments-closed .pings-open -->
    
    		<?php endif; ?>
    
    	<?php endif; ?>
    
    	<?php comment_form(); // Load the comment form. ?>
    
    </div><!-- #comments-template -->

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still - use a pastebin. As it stands, your posted code may now have been permanently damaged/corrupted by the forum's parser.]

    http://wordpress.org/extend/plugins/comments/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic