Forums

[resolved] Removing "Comments Have Been Disabled" (5 posts)

  1. Amnesia180
    Member
    Posted 3 years ago #

    Hi There,

    I have created a "contact me" page, with a form etc.

    But I have disabled the ability to "ping" and "comment" but there is a big ugly "Comments have been disable" notice as well as the creating date/number of views. How can I remove all of these?

    Thanks,

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Need to review Template Hierarchy to figure out what template is being used for your theme to display that information. Likely need to look at page.php in your theme folder (wp-content/themes/yourtheme) to find reference to the_date or the_time.

    The comments and views will likely have template tags you can delete also.

    If you are going to be modifying themes you will want to get acquainted with:
    Stepping Into Templates
    Stepping Into Template Tags
    Tempate Hierarchy

  3. Amnesia180
    Member
    Posted 3 years ago #

    Thanks MichaelH.

    So, if I remove it from my "pages" will it show on my blogs still?

  4. MichaelH
    Volunteer
    Posted 3 years ago #

    Again, depends on what template is used to display posts vs. pages. Template Hierarchy will help you determine that answer.

    Please make a copy of your theme files before changing, just in case!

  5. Amnesia180
    Member
    Posted 3 years ago #

    Thanks michael. If you go to http://www.thewebevolved.com/enter you can see I have modified the page. Still have some tweaking to remove the "leave comment" option and tidy up the images. But I think i'm on my way!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.