How to add text under comment form?

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

How to add text under comment form?

Postby Shawn » 05 May 2012, 20:47

I would like to add some text under the comment form, in older versions i added the text in comments.php.
but this doesn´t work anymore.
how or where do i have to put my lines?
THX
Shawn
 
Posts: 12
Joined: 10 Mar 2010, 09:28

Re: How to add text under comment form?

Postby Colin » 05 May 2012, 23:11

Why don't you use an ad-hoc widget area or the widget area above footer with a text widget in it rather than hacking core files?

If you must do it by modifying core files do it in a child theme and then you will be able to upgrade without losing your custom changes.
Colin
 
Posts: 2799
Joined: 27 Oct 2009, 10:46

Re: How to add text under comment form?

Postby Shawn » 06 May 2012, 00:20

a widget makes no sense, the users should read the text before posting. and a widget woud be too far down.
and i have no ideo how to use ad hoc widgets right under the comments
yeah, child theme, sorry but i haven´t understood how this works yet. the video is nice but hard to understand if you are not that good with english.
and the question would be the same, whre do i put my code??
Shawn
 
Posts: 12
Joined: 10 Mar 2010, 09:28

Re: How to add text under comment form?

Postby sayontan » 06 May 2012, 08:35

It is still in the same place - comments.php, after the call to "comment_form".
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: How to add text under comment form?

Postby Shawn » 06 May 2012, 09:35

could you be more specific please?
i tried to insert my lines at the end after
<?php endif; ?>
and before
</div>
that worked fine in previous versions, but not anymore
Shawn
 
Posts: 12
Joined: 10 Mar 2010, 09:28

Re: How to add text under comment form?

Postby sayontan » 06 May 2012, 10:26

Shawn wrote:could you be more specific please?
i tried to insert my lines at the end after
<?php endif; ?>
and before
</div>
that worked fine in previous versions, but not anymore

I don't have any "endif" in the file. Which file are you talking about? Which folder is it in?
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: How to add text under comment form?

Postby Shawn » 06 May 2012, 21:56

i use the wordpress editor to edit the "comments.php"
the file ends with
Code: Select all
<p><?php _e('Sorry, the comment form is closed at this time.', "suf_theme"); ?></p>
<?php
      }
?>
<?php endif; ?>
</div>
Shawn
 
Posts: 12
Joined: 10 Mar 2010, 09:28

Re: How to add text under comment form?

Postby sayontan » 07 May 2012, 09:53

That is not the current file. I have removed the use of "suf_theme" in the files more than one year back.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas


Return to Support Requests

Who is online

Users browsing this forum: Harmon4 and 3 guests