Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web284/html/wp-content/themes/splendor/ |
Current File : //var/www/web284/html/wp-content/themes/splendor/comments.php |
<?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { ?> <p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments.","splendor"); ?></p> <?php return; } ?> <?php if ( have_comments() ) : ?> <ul class="unstyled commentsul" > <?php wp_list_comments('max_depth=3&callback=mytheme_comment'); ?> </ul> <?php else : // this is displayed if there are no comments so far ?> <?php if ( comments_open() ) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> <!-- If comments are closed. --> <p class="nocomments"><?php _e("Comments are closed.","splendor"); ?></p> <?php endif; ?> <?php endif; ?> <?php if ( comments_open() ) : ?> <div id="respond"> <h4 class="small_width mb12"><?php comment_form_title(__( 'Leave a Reply', "splendor" )); ?></h4> <!--- replace comment_form(); --> <?php paginate_comments_links('prev_text=back&next_text=forward'); ?> <div class="cancel-comment-reply"> <small><?php cancel_comment_reply_link(); ?></small> </div> <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> <p><?php _e("You must be ","splendor"); ?><a href="<?php echo wp_login_url( get_permalink() ); ?>"><?php _e("logged in ","splendor"); ?></a><?php _e("to post a comment.","splendor"); ?></p> <?php else : ?> <form class="form" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="contact-form"> <?php if ( is_user_logged_in() ) : ?> <h6 class="comhead"><?php _e("Logged in as ","splendor"); ?><i class="icon-user"></i> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a> / <i class="icon-remove"></i> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account"><?php _e("Log out","splendor"); ?></a></h6> <?php else : ?> <input type="text" class="span4" style="margin-right:25px;" placeholder="<?php _e("Name","splendor"); ?>" name="author" value="<?php echo esc_attr($comment_author); ?>" /> <br> <input class="span4" type="text" placeholder="<?php _e("E-Mail","splendor"); ?>" name="email" value="<?php echo esc_attr($comment_author_email); ?>" /> <?php endif; ?> <textarea type="text" placeholder="<?php _e("Message","splendor"); ?>" id="comment" name="comment" class="input-text" rows="5" style="width:98%"></textarea><br> <button name="submit" id="submit_form" type="submit" class="btn btn-small"><?php _e("Post comment","splendor"); ?></button> <p><?php comment_id_fields(); ?></p> <?php do_action('comment_form', $post->ID); ?> </form> <?php endif; // If registration required and not logged in ?> </div> <?php endif; // if you delete this the sky will fall on your head ?>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare