Odpowiedź forum utworzona

Zobacz 1 odpowiedź (z 1 wszystkich)
  • A ja mam taki problem, że chcę się pozbyć tego napisu, ale nie ma go w comments.php 🙁 . Gdzie jeszcze może on być?

    comments.php:

    <?php
    // Customize comments markup
    function custom_comments($comment, $args, $depth) {
    $GLOBALS['comment'] = $comment; ?>
    
    	<li>
    				<?php echo get_avatar($comment,$size=$args['avatar_size']); ?>
                <div class="comment-wrap">
    				<div class="comment-author"><?php echo get_comment_author_link(); ?></div>
    				<?php if ($comment->comment_approved == '0') : ?>
    				<em>Twój komentarz czeka na zatwierdzenie przez moderatora.</em>
    				<?php endif; ?>
    				<?php comment_text(); ?>
    				<?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
            </div><!-- /Comment Wrap -->
    
    <?php }
    
    // Pings
    function custom_comments_pings($comment, $args, $depth) {
      $GLOBALS['comment'] = $comment; ?>
    <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
    <div id="comment-<?php comment_ID(); ?>" class="comment-body clearfix">
    <div class="comment-avatar">
    <?php echo get_avatar($comment,$size=$args['avatar_size']); ?>
    </div>
    <div class="comment-content">
    <div class="comment-author vcard">
    <?php echo get_comment_author_link(); ?>
    <span class="comment-date"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s'), get_comment_date()) ?></a> <?php edit_comment_link('EDYTUJ',' ','') ?></span>
    </div><!-- END: .comment-author vcard -->
    <?php if ($comment->comment_approved == '0') : ?>
    <em>Twój komentarz czeka na zatwierdzenie przez moderatora.</em>
    <?php endif; ?>
    <div class="comment-text">
    <?php comment_text(); ?>
    </div>
    <div class="reply rbot">
    <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    </div>
    </div>
    </div>
    <?php }
    ?>

Zobacz 1 odpowiedź (z 1 wszystkich)