SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Mentor silver trophybronze trophy

    Join Date
    Feb 2008
    Location
    Preston, Lancashire
    Posts
    1,377
    Mentioned
    72 Post(s)
    Tagged
    1 Thread(s)

    Is it safe to edit wp-includes/comments-template.php

    Hiya all,

    I need to edit the comments displayed on the website. I did some research and I found that in order to edit the form I have to edit wp-includes/comments-template.php. What concerns me is that this file is in the core files, an update to the CMS will replace the file causing me to loose all the changes.

    What should I do.

    I basically need to edit the title of Leave Reply, I wanted it in a H3, the issue could probably be resolved in CSS, but my goal is to understand WP better.


    Kind regards,
    Sega
    follow me on ayyelo, Easy WordPress; specializing in setting up themes!

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You should be able to edit the comment form by editing "comments.php" in your themes directory.

  3. #3
    SitePoint Mentor silver trophybronze trophy

    Join Date
    Feb 2008
    Location
    Preston, Lancashire
    Posts
    1,377
    Mentioned
    72 Post(s)
    Tagged
    1 Thread(s)
    You can't edit the appearance though. You can only edit the appearance though the comments-template.php. I heard you can use minor scripts to do what I wanted, but it's not as flexible.
    follow me on ayyelo, Easy WordPress; specializing in setting up themes!

  4. #4
    SitePoint Mentor silver trophybronze trophy

    Join Date
    Feb 2008
    Location
    Preston, Lancashire
    Posts
    1,377
    Mentioned
    72 Post(s)
    Tagged
    1 Thread(s)
    I found the solution on the WP site, http://wordpress.org/support/topic/c...-a-reply-title, it appear the edits need to be done on the function.php file.
    follow me on ayyelo, Easy WordPress; specializing in setting up themes!


Tags for this Thread

Bookmarks

Posting Permissions

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