0
最新の投稿を表示するループがあります。私は言う部分を変更したい:. get_comments_number($question->ID) .
とその代わりに日付を取得します。 (<?php the_time('F j, Y') ?>)
ループ内でthe_time(実際には日付)を取得
これはループです:
$loophtml = $loophtml . "<span class='list-number-answers'>" . get_comments_number($question->ID) . " comentarios</span> · <a href='" . get_permalink($question->ID) ."'>Comentar</a>";
私は($ question-> ID)を追加するかどうかはわかりませんthe_timeします。誰も私に手を差し伸べることができますか?おかげ