• Resolved dubhdara

    (@dubhdara)


    When I go to other blogs I see the comments are listed (open) under the post. However, my blog (using latest WordPress, 2010 theme) seems to have a default of having the comments undisplayed (you have to click on the link to open them).

    How can I keep them displayed like other blogs?

    And, in this connection, is it normal for a second post made by me to appear above the first one rather than on a separate page? How do I configure one post per page?

    I cannot find any settings in the dashboard regarding these two issues.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • –How do I configure one post per page?

    dashboard – settings – reading – Blog pages show at most [ 1 ] posts

    –comments:
    it is normal behaviour for wordpress not to show comments and the comment form on the front page (index.php)

    you can change this by adding:
    <?php global $withcomments; $withcomments = true; ?>
    before the line with:
    <?php comments_template( '', true ); ?>

    for Twenty Ten this is in loop.php (about line 164)

    (here is explained why)

    Thread Starter dubhdara

    (@dubhdara)

    Thank you Alchymyth, I didn’t see that post option!

    As for the comments. It seems to be working! However, the link you give shows code (bottom of instructions, for 2010) that does not exist prior to the comments_template line in my loop.php:

    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    				<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    			</div><!-- .entry-utility -->
    		</div><!-- #post-## -->
                    <?php global $withcomments; $withcomments = true; ?>
    		<?php comments_template( '', true ); ?>

    Have I done it right?

    yes, well done;

    i had code from the Twenty Ten theme (beta) in that post; corrected now.

    thanks for pointing it out.

    Thread Starter dubhdara

    (@dubhdara)

    Great.

    Resolved. Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to leave comments open? / Posts and Pages’ is closed to new replies.