prohollyking
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to remove area under comments?Thanks! Yeah, I may have gotten sick of the inflexibility of the Amerifecta theme and found another to work for me. The only downside of my Picoclean one is that there’s no Widgetized footer, and the only included widgetized area in a single sidebar. Guess that’s the next thing I’ll have to figure out…
Josh, just gotta say you’re amazing! I was looking to solve this problem for myself and your fix did the trick!
Forum: Themes and Templates
In reply to: How to remove area under comments?I’m just now learning and, if I were to be honest, don’t even know anything about child themes. I assume that’s a theme that’s created from another theme, but with changes?
I pulled open the comments.php and looked through it (pasted below), but didn’t see anything recognizable (I was control Finding the word ‘feed’, for example.)
One thing I’ve been wondering in general is how to find where something is located within a theme when you want to remove it. Using Firefox’s editor, I can at least see what the code I need is sometimes, but not what file it’s in.
Still learning, like I said. ^_^ Sorry if I seem ignorant.<?php // Do not delete these lines if ('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">This post is password protected. Enter the password to view comments.</p> <?php return; } } /* This variable is for alternating comment background */ $oddcomment = 'class="alt" '; ?> <!-- You can start editing here. --> <?php if ($comments) : ?> <div id="comments"> <h2><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h2> <ol class="commentlist"> <?php foreach ($comments as $comment) : ?> <li id="comment-<?php comment_ID() ?>"> <?php echo get_avatar( $comment, 35 ); ?> <h3><?php comment_author_link() ?> said:</h3> <small><a>" title=""><?php comment_date('M d, y') ?> at <?php comment_time() ?></a></small> <?php if ($comment->comment_approved == '0') : ?> <small><em>Your comment is awaiting moderation.</em></small> <?php endif; ?> <?php comment_text() ?> <?php endforeach; /* end for each comment */ ?> </div> <hr /> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <div id="respond"> <h2>Leave a Reply</h2> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p>You must be <a>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p>Logged in as <a>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a>/wp-login.php?action=logout" title="Log out of this account">Logout ?</a></p> <?php else : ?> <div class="commentinput grid_8"> <p class="grid_3 alpha"><label for="author">Name <?php if ($req) echo "(required)"; ?></label></p> <p class="grid_3 omega"><input type="text" class="grid_5 omega" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /></p> </div> <div class="commentinput push grid_8"> <p class="grid_3 alpha"><label for="email">Mail (not published) <?php if ($req) echo "(required)"; ?></label></p> <p class="grid_3 omega"><input type="text" class="grid_5 omega" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /></p> </div> <div class="commentinput push grid_8"> <p class="grid_3 alpha"><label for="url">Website</label></p> <p class="grid_3 omega"><input type="text" class="grid_5 omega" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /></p> </div> <div class="clear">?</div> <?php endif; ?> <div class="commenttext grid_6"> <p><label for="comment">Your Comment</label></p> <p><textarea name="comment" id="comment" rows="5" cols="10" tabindex="4"></textarea></p> </div> <p class="grid_6"> <button name="submit" type="submit" id="submit" tabindex="5">Submit Comment</button> <button name="reset" type="reset" id="reset" tabindex="6">Reset Form</button> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> </form> <?php endif; ?> </div> <?php endif; ?>
[Please use the code buttons when posting code here]