Support » Themes and Templates » hide comments by default

  • hi,
    I want to set comments hidden by default in this p2 theme.. how can I process it ?

Viewing 1 replies (of 1 total)
  • back up 1st
    open theme’s entry.php
    look for this

    <?php if ( get_comments_number() > 0 ) : ?>
    		<div class="discussion" style="display: none">
    				<?php p2_discussion_links() ?>
    				<a href="#" class="show_comments" id="prologue-<?php the_ID(); ?>"><?php _e( 'Toggle Comments', 'p2' ) ?></a>

    comment it out or remove it

Viewing 1 replies (of 1 total)
  • The topic ‘hide comments by default’ is closed to new replies.