/** * Return answer time * @param boolean|integer $answer_id If outside of loop, post ID can be passed. * @param integer $format WP time format. * @return string */ function ap_answer_get_the_time($answer_id = false, $format = '') { $answer_id = ap_parameter_empty($answer_id, @ap_answer_get_the_answer_id()); return get_post_time($format, true, $answer_id, true); }
?> <?php ap_answer_the_time(); ?> </div> <div class="ap-q-inner"> <div class="ap-answer-content ap-q-content" itemprop="text"> aid=<?php echo get_the_ID(); ?> .<?php the_content(); ?> </div> <?php ap_answer_the_active_time(); ?> <?php ap_post_status_description(ap_answer_get_the_answer_id()); ?> <?php ap_post_actions_buttons(); ?> </div> <?php ap_answer_the_comments(); ?> </div> </div> </div>