initial commit

This commit is contained in:
2019-06-09 16:44:48 +02:00
commit 3f2c379529
122 changed files with 57403 additions and 0 deletions

24
comments.php Executable file
View File

@@ -0,0 +1,24 @@
<div class="comments">
<?php if (post_password_required()) : ?>
<p><?php _e( 'Post is password protected. Enter the password to view any comments.', 'iotheme' ); ?></p>
</div>
<?php return; endif; ?>
<?php if (have_comments()) : ?>
<h2><?php comments_number(); ?></h2>
<ul>
<?php wp_list_comments('type=comment&callback=iothemecomments'); // Custom callback in functions.php ?>
</ul>
<?php elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
<p><?php _e( 'Comments are closed here.', 'iotheme' ); ?></p>
<?php endif; ?>
<?php comment_form(); ?>
</div>