Support » Theme: Chun » Removing the 'Comments are closed etc. box'

  • Hi Justin,

    First of all, thanks for making this really nice theme. I’m finishing up my company website at the moment, and your theme has proven to be the perfect building ground for it.

    There’s only one small thing I’d like to change, and perhaps you or someone else can help me out. I have no need for comments or mentioning that they are closed, so in the comments.php I took out this part:

    <?php if ( pings_open() && !comments_open() ) : ?>
    
    		<p class="comments-closed pings-open">
    			<?php printf( __( 'Comments are closed, but <a href="%s" title="Trackback URL for this post">trackbacks</a> and pingbacks are open.', 'chun' ), esc_url( get_trackback_url() ) ); ?>
    		</p><!-- .comments-closed .pings-open -->
    
    	<?php elseif ( !comments_open() ) : ?>
    
    		<p class="comments-closed">
    			<?php _e( 'Comments are closed.', 'chun' ); ?>
    		</p><!-- .comments-closed -->
    
    	<?php endif; ?>

    That worked, but the block surrounding this text is still showing on pages, and I’m not sure where I can take this part out.

    Any help is much appreciated!

  • The topic ‘Removing the 'Comments are closed etc. box'’ is closed to new replies.