Edit "Leave a reply" and "Post Comment" in comments form


Author Message
dpeschio

Posted: 7/27/2011
Quote message 

I need to edit the comments form on pages - but globally is fine since comments are active on only one page. I have edited the comments.php file, but something is overriding these settings. I do not have any comment related plugins installed and I can't find where this code is being generated. The site is not live so I can't post links... sorry. Anyone experienced this? Content that needs to be changes is "Leave a reply" and "Post Comment"


--and what does "theme-ns" indicate?

page source:

<code>
<!-- article-content -->
<div>

<h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/contact-us-2/#respond" style="display:none;">Cancel reply</a></small></h3>
<form action="http://heraassociates.com/wp-comments-post.php" method="post" id="commentform">
<p class="logged-in-as">Logged in as <a href="http://heraassociates.com/wp-admin/profile.php">admin</a>. <a href="http://heraassociates.com/wp-login.php?action=logout&amp;redirect_to=http%3A%2F%2Fheraassociates.com%2Fcontact-us-2%2F&amp;_wpnonce=659bb3846c" title="Log out of this account">Log out?</a></p> <p class="comment-form-comment"><label for="comment">Comment</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p> <p class="form-allowed-tags">You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></p> <p class="form-submit">

<input name="submit" class="art-button" type="submit" id="submit" value="Post Comment" />
<input type='hidden' name='comment_post_ID' value='60' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' />
</p>
<input type="hidden" id="_wp_unfiltered_html_comment" name="_wp_unfiltered_html_comment" value="6fb30a16a3" /> </form>
</div><!-- #respond -->
<!-- /article-content -->
</code>

And comments.php

<code>
line 43:<h3 id="comments-title"><?php comment_form_title( __('Leave your feedback and suggestions'), __('Leave feedback %s') ); ?></h3>

line 64: <input class="art-button" type="submit" name="submit" tabindex="5" value="<?php _e('Submit Comment', THEME_NS); ?>" />
</code>
 
Tony

Posted: 8/24/2011
Quote message 

Anybody knows how to edit the standard "Leave a reply" and "Post Comment" on pages and posts?

Where are all the PHP experts, we need your help.

Thanks Tony
 
deborah

Posted: 7/15/2016
Quote message 


danke gutes Thema :-D
 
Michael

Posted: 9/5/2016
Quote message 

I have such a need too with my Wordpress website. I created it with a template from http://www.templatemonster.com/wordpress-themes.php I am not good at web design really, but that templates are very nice, I guess. I need some more tips from you, guys