<?php /** * The template for displaying comments. * * The area of the page that contains both current comments * and the comment form. * * @package thim */ /* * If the current post is protected by a password and * the visitor has not yet entered the password we will * return early without loading the comments. */ if ( post_password_required() ) { return; } if ( have_comments() && ! ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) ) { $class_has_comments = " has-comments"; } else { $class_has_comments = ""; } ?> <div id="comments" class="comments-area<?php echo esc_attr( $class_has_comments ); ?>"> <?php // You can start editing here -- including this comment! ?> <?php if ( have_comments() ) : ?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> <nav id="comment-nav-above" class="comment-navigation" role="navigation"> <h1 class="screen-reader-text"><?php esc_attr_e( 'Comment navigation', 'eduma' ); ?></h1> <div class="nav-previous"><?php previous_comments_link( esc_html__( '← Older Comments', 'eduma' ) ); ?></div> <div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments →', 'eduma' ) ); ?></div> </nav><!-- #comment-nav-above --> <?php endif; // check for comment navigation ?> <ol class="comment-list"> <div class="comment-list-inner"> <h3 class="comments-title"> <?php printf( _nx( '1 Comment', '%1$s Comments', get_comments_number(), 'comments title', 'eduma' ), number_format_i18n( get_comments_number() ) ); ?> </h3> <?php wp_list_comments( 'style=li&&type=comment&avatar_size=90&callback=thim_comment' ); ?> </div> </ol><!-- .comment-list --> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> <nav id="comment-nav-below" class="comment-navigation" role="navigation"> <h1 class="screen-reader-text"><?php esc_attr_e( 'Comment navigation', 'eduma' ); ?></h1> <div class="nav-previous"><?php previous_comments_link( esc_html__( '← Older Comments', 'eduma' ) ); ?></div> <div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments →', 'eduma' ) ); ?></div> </nav><!-- #comment-nav-below --> <?php endif; // check for comment navigation ?> <?php endif; // have_comments() ?> <?php // If comments are closed and there are comments, let's leave a little note, shall we? if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <!-- <p class="no-comments" style="background: #fff;padding: 30px;"><?php esc_attr_e( 'Comments are closed.', 'eduma' ); ?></p> --> <?php endif; ?> <div class="comment-respond-area"> <?php comment_form( array( 'title_reply' => esc_html__( 'Leave A Reply', 'eduma' ), 'label_submit' => esc_html__( 'Post Comment', 'eduma' ), 'comment_field' => '<p class="comment-form-comment"><textarea placeholder="' . esc_attr__( 'Comment *', 'eduma' ) . '" id="comment" name="comment" cols="45" rows="8" aria-required="true">' . '</textarea></p>' ) ); ?> </div> <div class="clear"></div> </div><!-- #comments -->
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
assets | Folder | 0700 |
|
|
bbpress | Folder | 0700 |
|
|
buddypress | Folder | 0700 |
|
|
images | Folder | 0700 |
|
|
inc | Folder | 0700 |
|
|
languages | Folder | 0700 |
|
|
learnpress-v3 | Folder | 0700 |
|
|
learnpress-v4 | Folder | 0700 |
|
|
lp-child-path | Folder | 0700 |
|
|
our-team | Folder | 0700 |
|
|
page-templates | Folder | 0700 |
|
|
paid-memberships-pro | Folder | 0700 |
|
|
portfolio | Folder | 0700 |
|
|
testimonials | Folder | 0700 |
|
|
thim-elementor-kit | Folder | 0700 |
|
|
thim-twitter | Folder | 0700 |
|
|
vc_templates | Folder | 0700 |
|
|
video-conferencing-zoom | Folder | 0700 |
|
|
woocommerce | Folder | 0700 |
|
|
wp-events-manager | Folder | 0700 |
|
|
404.php | File | 1.52 KB | 0644 |
|
archive.php | File | 1.38 KB | 0644 |
|
changelog.html | File | 48.42 KB | 0644 |
|
comments.php | File | 3.24 KB | 0644 |
|
content-grid.php | File | 2.55 KB | 0644 |
|
content-none.php | File | 1.12 KB | 0644 |
|
content-page.php | File | 492 B | 0644 |
|
content-search.php | File | 1.64 KB | 0644 |
|
content-single.php | File | 1.23 KB | 0644 |
|
content.php | File | 1.49 KB | 0644 |
|
footer.php | File | 695 B | 0644 |
|
functions.php | File | 30.84 KB | 0644 |
|
header.php | File | 1.92 KB | 0644 |
|
index.html | File | 0 B | 0644 |
|
index.php | File | 1.39 KB | 0644 |
|
integrations.txt | File | 308 B | 0644 |
|
page.php | File | 932 B | 0644 |
|
readme.txt | File | 27 B | 0644 |
|
rtl-min.css | File | 97.01 KB | 0644 |
|
rtl.css | File | 112.5 KB | 0644 |
|
screenshot.png | File | 202.42 KB | 0644 |
|
search.php | File | 971 B | 0644 |
|
sidebar-courses.php | File | 802 B | 0644 |
|
sidebar-events.php | File | 1.98 KB | 0644 |
|
sidebar-shop.php | File | 744 B | 0644 |
|
sidebar.php | File | 724 B | 0644 |
|
single.php | File | 997 B | 0644 |
|
style-editor.css | File | 2.73 KB | 0644 |
|
style.css | File | 626.36 KB | 0644 |
|
wpml-config.xml | File | 17.3 KB | 0644 |
|