Prana Theme Comment box
-
Hi,
my website is https://www.thehustleleague.com and I discovered that my “leave a comment” box on my posts does not show up anytime I click on it. I have been battling on it for days and honestly I am very new in this field and I know nothing about “Coding”, “CSS” and all that.PLEASE HELP!
Below is my single.php
<?php get_header(); ?>
<div class=”container_16 clearfix”>
<div class=”grid_12″>
<main id=”content” class=”site-main” role=”main”><?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, ‘single’ ); ?>
<?php endwhile; ?>
<?php else : ?>
<?php get_template_part( ‘loop-error’ ); ?>
<?php endif; ?>
<?php prana_loop_nav_singular_post(); ?>
</main> <!– end #content –>
</div> <!– end .grid_12 –><?php get_sidebar(); ?>
</div> <!– end .container_16 –>
<?php get_footer(); ?>
and also is my comments.php
<div id=”comments” class=”grid_inside”>
<?php if ( post_password_required() ) : ?>
<p class=”nopassword”><?php _e( ‘This post is password protected. Enter the password to view any comments.’, ‘prana’ ); ?></p>
</div><!– #comments –>
<?php
/**
* Stop the rest of comments.php from being processed,
* but don’t kill the script entirely — we still have
* to fully load the template.
*/
return;
endif;
?><?php if ( have_comments() ) : ?>
<h3 id=”comments-title”>
<?php printf( _n( ‘One Thought on “%2$s”’, ‘%1$s Thoughts on “%2$s”’, get_comments_number(), ‘prana’ ), get_comments_number(), ‘<span>’ . get_the_title() . ‘</span>’ ); ?>
</h3><ol class=”commentlist”>
<?php wp_list_comments( apply_filters ( ‘prana_list_comments’, array( ‘callback’ => ‘prana_comment’ ) ) ); ?><?php if ( get_comment_pages_count() > 1 ) : ?>
<div id=”comments-nav-below” class=”clearfix”>
<?php
ob_start();
previous_comments_link( __( ‘← Older Comments’, ‘prana’ ) );
$previous_comments_link = ob_get_clean();ob_start();
next_comments_link( __( ‘Newer Comments →’, ‘prana’ ) );
$next_comments_link = ob_get_clean();$previous_comments_link = ( empty( $previous_comments_link ) )? ‘ ‘ : $previous_comments_link;
$next_comments_link = ( empty( $next_comments_link ) )? ‘ ‘ : $next_comments_link;
?><h3 class=”assistive-text”><?php _e( ‘Comment navigation’, ‘prana’ ); ?></h3>
<div class=”loop-nav-previous grid_6 alpha”><?php echo $previous_comments_link; ?></div>
<div class=”loop-nav-next grid_6 omega”><?php echo $next_comments_link; ?></div>
</div>
<?php endif; ?><?php
/**
* If there are no comments and comments are closed, let’s leave a little note, shall we?
* But we don’t want the note on pages or post types that do not support comments.
*/
elseif ( !comments_open() && !is_page() && post_type_supports( get_post_type(), ‘comments’ ) ) :
?>
<p class=”nocomments”><?php _e( ‘Comments are closed.’, ‘prana’ ); ?></p>
<?php endif; ?><?php comment_form(); ?>
</div><!– #comments –>
I need Help Urgently, please!
- The topic ‘Prana Theme Comment box’ is closed to new replies.