C:\xampp\htdocs\landing\wp-content\updraft\plugins-old\penci-pennews-amp\templates\reviews.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
 * Comments template
 *
 * @package Wordpress
 * @since 1.0
 */

// Get numbers comments
$comment_numbers get_comments_number();
?>
<div class="post-comments<?php if( $comment_numbers == ): echo ' no-comment-yet'; endif;?>" id="comments">
    <?php
    
if ( have_comments() ) :
        echo 
'<div class="post-title-box"><h4 class="post-box-title">';
        
comments_number'0 ' .penci_amp_get_setting'penci_trans_comment' ), '1 'penci_amp_get_setting'penci_trans_comment' ), '% ' penci_amp_get_setting'penci_trans_comment' ) );
        echo 
'</h4></div>';

        echo 
"<div class='comments'>";
        
wp_list_comments( array(
            
'avatar_size' => 100,
            
'max_depth'   => 5,
            
'style'       => 'div',
            
'callback'    => 'penci_amp_comments_template',
            
'type'        => 'all'
        
) );
        echo 
"</div>";

        echo 
"<div id='comments_pagination'>";
        
paginate_comments_links( array( 'prev_text' => '&laquo;''next_text' => '&raquo;' ) );
        echo 
"</div>";

    endif;

    
// If comments are closed and there are comments, let's leave a little note.
    
if ( ! comments_open() && get_comments_number() && post_type_supportsget_post_type(), 'comments' ) ) :
        
?>
        <p class="no-comments"><?php echo penci_amp_get_setting'penci_trans_comments_closed' ); ?></p>
    <?php endif; ?>
    <?php
    $comment_link 
Penci_AMP_Link_Sanitizer::__pre_url_offget_the_permalink() ) . '#respond';
    
?>
    <a href="<?php echo esc_url$comment_link ); ?>" class="button add-comment"><?php echo penci_amp_get_setting'penci_amp_add_comment' ); ?></a>
</div> <!-- end comments div -->
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586