/** * Hook tags after post * @param object $post * @return string * @since 1.0 */ public function ap_question_info($post) { if (ap_question_have_tags()) { echo '<div class="widget"><span class="ap-widget-title">' . __('Tags') . '</span>'; echo '<div class="ap-post-tags clearfix">' . ap_question_tags_html(array('list' => true, 'label' => '')) . '</div></div>'; } }
<li class="list-meta ap-tip" title="<?php _e('Last activity', 'ap'); ?> "> <i class="ap-icon-clock ap-meta-icon"></i> <?php printf('<span class="when">%s %s ago</span>', ap_get_latest_history_html(get_the_ID()), ap_human_time(mysql2date('U', ap_last_active(get_question_id())))); ap_user_display_name(); ?> </li> <li class="ap-tip" title="<?php _e('Question category', 'ap'); ?> "><?php ap_question_categories_html(false, false); ?> </li> <li class="ap-tip" title="<?php _e('Question tagged', 'ap'); ?> "><?php ap_question_tags_html(false, false); ?> </li> </ul> </div> </div> </article><!-- list item -->
} ?> <!-- End Category --> <!-- Start Tags --> <?php if (ap_opt('enable_tags')) { ?> <div class="ap-question-side"> <h3 class="ap-question-side-title"><?php _e('Tags', 'ap'); ?> </h3> <?php ap_question_tags_html(get_question_id()); ?> </div> <?php } ?> <!-- End Tags --> <!-- Start participants --> <div class="ap-question-side"> <?php ap_get_all_parti(30, get_question_id()); ?> </div> <!-- End participants --> </div>