Comment box does not show up on main page; only post page
-
I recently migrated my wordpress.com blog to www.remarpro.com and loving it so far. The added functionality is great, but now that I “own” my site, I’m getting pick with what I want.
I downloaded the FirsTyme theme, which is great, but my followers have mentioned that it is confusing to leave a comment since you need to click on the post title before this option is available.I am not an expert on code, but understand there is probably a field I need to edit within the code in order to make this work. My theme came with multiple files to edit, include a comment.php, which I’m thinking is where the code needs to be. I’ve already backed up my site, so ready to go!
Can someone let me know what I need to change/add to make this available? I’d like someone to be able to click on “add a comment” at the bottom of the post, or at best, click on the part that says “no comments” or ” % comment” and it will take them to the comment box.
My php file looks like this:
<?php if ( post_password_required() ) : ?> <div id="comments-list-wrapper"> <div class="block_dec_line"></div> <div class="block"> <p class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'firstyme'); ?></p> </div> <!-- /block --> </div> <!-- /comments-list-wrapper --> <?php return; endif; ?> <?php if ( have_comments() ) : ?> <div id="comments-list-wrapper"> <div class="block_dec_line"></div> <div class="block"> <h1><?php _e('Discussion', 'firstyme') ?> (<?php comments_number(); ?>)</h1> <ol class="comment_list"> <div id="page_nav_up"> <?php next_comments_link(); ?> </div> <!-- /page_nav_up --> <?php wp_list_comments( array( 'callback' => 'firstyme_comments' ) );?> <div id="page_nav_down"> <?php previous_comments_link(); ?> </div> <!-- /page_nav_up --> </ol> </div> <!-- /block --> </div> <!-- /comments-list-wrapper --> <?php else : // or, if we don't have comments: # If there are no comments and comments are closed if ( ! comments_open() ) : # If there are no comments and comments are open else: endif; // end ! comments_open() endif; // end have_comments() ?> <?php comment_form(); ?>
Thank you!
- The topic ‘Comment box does not show up on main page; only post page’ is closed to new replies.