——————————————————————-
Sam
March 12,2016 at 2:31 am
Permalink
Liked your post. Keep it up Reply
——————————————————————-
I want to remove this Permalink option, which shows up on the blog, once I moderate the comment. Please help and guide me step by step in removing this as I am relatively new to the wordpress. Thanks!
]]>Fatal error: require() [function.require]: Failed opening required ‘/home/content/40/10379740/html/wp-includes/comment.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/40/10379740/html/wp-settings.php on line 134
These are the messages I’m getting. I’ve overwrited the files admin-funtions.php, comments.php and wp-settings.php.
I did not touch the wp-content folder.
Still getting the same message. Kindly help me out here.
WP version 4.0.5
]]>comment-form
.
What I want is that the
comment-form
opens near the reply button, how do I do this?
]]>Fatal error: Cannot redeclare get_comment_author() (previously declared in /hermes/waloraweb037/b462/moo.teamtrimarkcom/wp-includes/comment.php:22) in /hermes/waloraweb037/b462/moo.teamtrimarkcom/wp-includes/comment-template.php on line 45
Website is www.teamtrimark.com
]]>I purchased a child theme of TwentyTwelve some days ago, well I’m having some problems with it.
I actually would like to change some things about the comment form and the single page, since there isn’t a comments.php or a single.php I thought it would be fine to just place the files.
So I copied the comments.php inside the child theme folder, but nothing happened. I did saw it in the Editor but it was empty and when I copied something inside the file, no changes were actually visible.
Now, I really would like to figure out what’s the point about it and how to fix this issue.
I hope someone here might have an idea, thanks!
]]>Warning: get_object_vars() expects parameter 1 to be object, null given in /home/spinn4/public_html/wp-includes/comment.php on line 171
Warning: Cannot modify header information – headers already sent by (output started at /home/spinn4/public_html/wp-includes/comment.php:171) in /home/spinn4/public_html/wp-includes/pluggable.php on line 896
1. I have inspected comment.php for white space. None.
2. I have replaced both comment.php and pluggable.php with fresh downloads from WordPress. This didn’t fix anything.
3. I did a complete reinstall of my entire WordPress installation. This didn’t fix it, either.
Any help?
Thanks!
Gordon
<?php // Do not delete these lines
if (!empty($_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">
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) : ?>
<h2><?php comments_number('No responses', 'One response', '% responses' );?> to <?php the_title(); ?></h2>
<p><?php foreach ($comments as $comment) : ?>
<?php $PostAuthor = false; if($comment->comment_author_email == get_the_author_email()) { $PostAuthor = true;} elseif($comment->comment_author_email == '[email protected]') { $PostAuthor = true;} ?>
<li<?php if($PostAuthor) {echo "class='authorcomment' ";} ?><?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"></li>
<?php if ($comment->comment_approved == '0') : ?><em>Your comment is awaiting moderation.</em></p>
<?php endif; ?>
<?php echo get_avatar( $comment, $size = '55', $default = 'image URL' ); ?>
<h3><?php comment_author_link() ?> said:</h3>
<p><?php comment_text() ?></p>
<small>On the <?php comment_date('F jS, Y') ?>.</small>
<?php /* Changes every other comment to a different class */ $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : ''; ?>
<?php endforeach; /* end for each comment */ ?><?php else : // this is displayed if there are no comments so far ?><?php if ('open' == $post->comment_status) : ?><!-- If comments are open, but there are no comments. --><?php else : // comments are closed ?><!-- If comments are closed. --><p class="nocomments">Comments are closed.</p><?php endif; ?><?php endif; ?><?php if ('open' == $post->comment_status) : ?>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_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 ) : ?>
<?php if(function_exists('wp_commentnavi')) { wp_commentnavi(); } ?>
<h2>Leave a reply</h2><BR>
<?php else : ?>
<h3>Leave a comment for <?php the_title(); ?></h3>
<p><input type="text" name="author" id="name" value="Name" onfocus="if (this.value == 'Name') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Name';}" /></p>
<p><input type="text" name="email" id="email" value="Email" onfocus="if (this.value == 'Email') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Email';}" /></p>
<p><input type="text" name="url" id="url" value="https://" /></p>
<
;?php endif; ?>
<?php if ( function_exists(cs_print_smilies) ) {cs_print_smilies();} ?>
<p><textarea name="comment" value="All comments needs to be approved by me first " class="comment" id="comment" cols="100%" rows="5" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p>
<p><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></p>
<?php do_action('comment_form', $post->ID); ?></form>
<?php endif; ?>
<?php endif; ?>
I’m new to wordpress and have no idea what the issue is ! the site is located at
]]><?php comments_template( '', true ); ?>
Thanks in advance
]]>