WordPress.org

Ready to get started?Download WordPress

Forums

Is it possible to remove the box 'Post a comment' from Pages of Theme 'NotesIL'? (2 posts)

  1. volvosnow11
    Member
    Posted 3 years ago #

    Hello! I need to remove the visibility of posting comments from 'Pages'. I'm using NotesIL (blog #1) and Titan (blog #2) themes, already checked in the respective web site page, but only found tips on how to manage, remove, order etc ...
    I noticed that with another theme I use for another W blog does not have this problem (flagging all boxes related to allowing/view/post comments.
    You can see this problem is displayed in two different themes, one used on this (blog #1):
    http://volvosnowbombing11.wordpress.com

    the other (blog #2) -> currently private but will be public shortly:
    http://cedacrimediaroom.wordpress.com
    Can you help me, please?
    Thanks a lot.
    Patrizia
    ps: I'm not sure about the WordPress version I'm using ... How do I know that? thanks ...

  2. rockriver
    Member
    Posted 2 years ago #

    I found out how to do this. In my case, I wanted to get rid of the category indicator too. I edited the Main Index Template (index.php). Find this code:

    <?php printf( __( 'Categories: %s', 'notesil' ), get_the_category_list( ', ' ) ); ?></span>
    <span class="meta-sep">|</span>
    <span class="comments-link"><?php comments_popup_link( __( 'Post a comment', 'notesil' ), __( 'Comments (1)', 'notesil' ), __( 'Comments (%)', 'notesil' ) ); ?></span>

    Wrap this snippet in HTML comments, like this:

    <!--
    <?php printf( __( 'Categories: %s', 'notesil' ), get_the_category_list( ', ' ) ); ?></span>
    <span class="meta-sep">|</span>
    <span class="comments-link"><?php comments_popup_link( __( 'Post a comment', 'notesil' ), __( 'Comments (1)', 'notesil' ), __( 'Comments (%)', 'notesil' ) ); ?></span>
    -->

Topic Closed

This topic has been closed to new replies.

About this Topic