Comment.php Modified, Sidebar Disappeared

  • # December 25, 2011 at 7:19 am

    I’m trying to modify a wordpress theme so that if I disable commenting on the page/post, nothing show up (I want to make the ‘comment is currently closed’ tag to go away). This is the original php file ,
    I made some modification (tuck the H2 element into the if block, so if it’s not true, then the message won’t show), and this is the current php file . After I saved the file, the sidebar just disappeared, why? I don’t see a single line of code that relates to the sidebar.

    Merry Christmas every one

    Edit: I should be a little more precise, the sidebar just disappeared on the page where comment was disabled. However, on the page where comment is enabled, the sidebar shows.

    # August 30, 2012 at 3:18 pm

    The links do not work.
    What I do is just go into ‘functions.php’, and search for ‘comments’. You can then find the message that is shown when the comments are closed, and just change it to empty quotes.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.