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 http://pastebin.com/RBQqW9mn ,
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 http://pastebin.com/sr88Dk9z . 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.
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)
The forum ‘Back End’ is closed to new topics and replies.