';
echo 'get_the_ID(); ' . get_the_ID();
?>
Pampadu
—
Блог
—
'article-author__avatar')) ?>
|
Дата публикации: = get_the_date('d.m.Y') ?>
|
';
echo '
';
echo '
';
echo get_comments_number( $post );
echo '';
echo '
';
?>
';
echo '
';
echo '
';
echo get_comments_number($post_id);
echo '';
echo '
';
?>
$post_id,
'hierarchical' => 'threaded',
// 'parent' => $question->comment_ID,
));
if ($comments) {
echo '';
}
?>
slug;
}
else {
$tagslugforaside = novosti;
}
echo $tagslugforaside;
get_template_part('template-parts/latest-news', get_post_type(), array(
'posts_number' => 6,
'tag_slug' => $tagslugforaside,
'block_header' => 'Материалы по теме'
));
$posttags = '';
wp_reset_postdata();
?>
' . $comment->comment_author . '
'; echo ''. $comment->comment_content . '
'; echo $link; echo ''; foreach($childcomments as $childcomment) { $link = get_comment_reply_link( [ 'reply_text' => "ответить", 'respond_id' => 'comment', 'depth' => 5, 'max_depth' => 10, ], $childcomment->comment_ID, $post_id ); $d = "F jS Y в h:i"; $comment_ID = $comment->comment_ID; $comment_date = get_comment_date( $d, $comment_ID ); $user_id = strstr($comment->comment_author_email, '@', true); echo '- ';
echo '
';
echo '';
echo '' . $comment_date . '';
echo 'Изменить';
echo ' ';
echo ' ';
echo ' ';
}
echo '
'; } echo '' . $childcomment->comment_author . '
'; echo ''. $childcomment->comment_content . '
'; echo $link; echo '