Results 1 to 2 of 2

Thread: Removing something...(Thanks Nile!!)

  1. #1
    Join Date
    Dec 2008
    Chicago, IL
    Thanked 0 Times in 0 Posts

    Default Removing something...(Thanks Nile!!)

    In my comment box, there is a little dark grey box that has no purpose, however I can't find the part of the code to eliminate it.

    LINK TO PAGE: Here

    Here is my Comments.php file:
    <?php // Do not delete these lines
    	if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    		die ('Please do not load this page directly. Thanks!');
    	if (!empty($post->post_password)) { // if there's a password
    		if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    			<p class="nocomments"><?php _e('Enter your password to view comments.'); ?></p>
    	/* This variable is for alternating comment background */
    	$oddcomment = ' alt';
    <!-- You can start editing here. -->
    <?php if(have_comments()) : ?>
    <div class="box-left clearfix">
    	<h4 class="content-title" id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?> to <em><?php the_title(); ?></em></h4>
    	<div class="commentlist">
    		<?php wp_list_comments(array('avatar_size'=>64, 'reply_text'=>'Reply')); ?>
    	<div class="navigation">
    		<div class="alignleft"><?php previous_comments_link() ?></div>
    		<div class="alignright"><?php next_comments_link() ?></div>
    <?php else : // this is displayed if there are no comments so far ?>
    	<?php if ('open' == $post->comment_status) : ?>
    		<!-- No comments yet -->
    	<?php endif; ?>
    <?php endif; // endif comments ?>
    <?php if ('open' == $post->comment_status) : ?>
    <div class="box-left">
    <h4 class="content-title"><?php comment_form_title('Leave a Reply', 'Leave a Reply to %s'); ?></h4>
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p class="alert"><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p>
    </div><!-- end box-left -->
    <?php else : ?>
    <fieldset id="commentfieldset">
    <div id="respond">
    <div id="cancel-comment-reply">
    	<?php cancel_comment_reply_link('Cancel reply') ?>
    <div id="commentform">
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">
    <?php if ( $user_ID ) : ?>
    <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Log out &raquo;'); ?></a></p>
    <?php else : ?>
    <label for="author"><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></label>
    <input type="text" name="author" id="name" class="text" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    <label for="email"><?php _e('Mail (will not be published)');?> <?php if ($req) _e('(required)'); ?></label>
    <input type="text" name="email" id="email" class="text" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
    <label for="url"><?php _e('Website'); ?></label>
    <input type="text" name="url" id="website" class="text" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
    <?php endif; ?>
    <label for="message"><?php _e('Message'); ?></label>
    <textarea name="comment" id="message" tabindex="4"></textarea>
    <p><input name="submit" type="submit" class="button" tabindex="5" value="<?php echo attribute_escape(__('Submit')); ?>" /></p>
    <?php comment_id_fields(); ?>
    <?php do_action('comment_form', $post->ID); ?>
    </div><!-- end commentform -->
    </div><!-- end respond -->
    </div><!-- end box-left -->
    <?php endif; // If registration required and not logged in ?>
    <?php endif; // if you delete this the sky will fall on your head ?>
    Last edited by Tye; 02-04-2009 at 12:25 AM.

  2. #2
    Join Date
    Jan 2008
    Thanked 628 Times in 624 Posts
    Blog Entries


    I don't know if this is the best way to do this, but in style.css on line 578 ad to .reply:
    display: none;
    Jeremy |

  3. The Following User Says Thank You to Nile For This Useful Post:

    Tye (02-04-2009)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts