How to remove "Comments are closed"

Viewing 6 posts - 1 through 6 (of 6 total)
  • #1965
    vijmat
    Participant

    Daniel,

    I love this theme. It works great. I need help with probably 2 questions

    1. On some of my pages where I have turned off comments, the block with “Comments are closed” showsup. How can I remove this block

    2. The dropdown menu fails: On some tabs, I have 7 items and at times by the time I reach the 3rd or the 4th item, the menu simply disappears. If you go to the site (http://www.ptl-india.info/) and go to the “Ministries” tab, you can see the issue. I am not sure why this happens. Is there a way to avoid that?

    Thanks again for you all your help

    Viju Mathai

    #1966
    Daniel Tara
    Keymaster

    Hi,

    To disable the comments are closed on pages, open comments.php and replace this line:

    <p class="nocomments"><?php _e('Comments are closed.','cover-wp') ?></p>

    with this:

    <?php if( !is_page() ) : ?>
    <p class="nocomments"><?php _e('Comments are closed.','cover-wp') ?></p>
    <?php endif; ?>

    About the drop-down menus, the issue is present only in Internet explorer, but if you’d like to remove it add the following to style.css:

    ul#menu li li {
    	margin-top:0;
    }
    #1967
    geroido
    Participant

    I’m having a similar problem. I want to remove all of the following traces of comments from my pages:

    Comments are closed. Posted by geroido
    on May 26, 2011
    Filed under Contact Us

    How can I remove these from all of my posts????

    #1968
    Daniel Tara
    Keymaster

    Delete the elements [code]<p class=”postmeta”>[/code] and [code]<p class=”details”>[/code] from all template files where they appear.

    #1969
    coco
    Participant

    Daniel,

    I am having the same problem as Vijmat however, as I am VERY new to all this i don’t know where to go to find ‘comments.php’ so that I can replace the code. Can you guide me through it?

    #1970
    gdaniels99
    Participant

    Coco,

    Go to your Dashboard. In the left sidebar find the section called Appearance. Click on it and it opens up to reveal more options. Click on Editor. This takes you to the Edit Themes page. Running down the right side of the screen will be a list of files under the heading Templates. This is where you will find comments.php. Just click on it, make your changes and save those changes.

    You can use this area to customize all sorts of things about your site. For instance, at my site [url=http://therealmayanprophecies.com]TheRealMayanProphecies.com[/url] I added a featured article slider at the top of my homepage. The more you learn about how wordpress works, the more you can customize your themes for your own purpose.

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

You must be logged in to reply to this topic.