echo get_permalink(); ?> "><?php $answer_count = dwqa_question_answers_count(); if ($answer_count > 0) { printf('<strong>%d</strong> %s', $answer_count, _n('answer', 'answers', $answer_count, 'dwqa')); } else { echo '<strong>0</strong> ' . __('answer', 'dwqa'); } ?> </a> <a target="_blank" href="<?php echo get_permalink(); ?> "><?php $views = dwqa_question_views_count(); if ($views > 0) { printf('<strong>%d</strong> %s', $views, _n('view', 'views', $views, 'dwqa')); } else { echo '<strong>0</strong> ' . __('view', 'dwqa'); } ?> </a> </div> </div> <div class="dwqa-embed-summary"> <?php $content = DWQA_Embed::html_cut(get_the_content(), 153); echo $content . '...'; ?> </div> </div>
</header> <div class="dwqa-content"> <div class="dwqa-content-inner dim"> <?php the_content(); ?> <div class="show-more-end"></div> </div> <div class="dwqa-read-more"><?php _e('-- More --', 'dwqa'); ?> </div> </div> <?php $tags = DWQA_Embed::get_the_term_list($post->ID, 'dwqa-question_tag', '<span class="dwqa-tag">', '</span><span class="dwqa-tag">', '</span>'); if (!empty($tags)) { ?> <div class="dwqa-tags"><?php echo $tags; ?> </div> <?php } ?> <!-- Question Tags --> <footer class="dwqa-footer"> <div class="dwqa-author"><?php echo get_avatar($post->post_author, 32, false); ?>