Пример #1
0
?>
				</a>
				<a class="ap-vote-count ap-tip" href="#" title="<?php 
_e('Total views', 'ap');
?>
">
					<span><?php 
echo ap_get_qa_views();
?>
</span> 
					<?php 
_e('Views', 'ap');
?>
				</a>
				<a class="ap-answer-count ap-tip" href="<?php 
echo ap_answers_link();
?>
" title="<?php 
_e('Total answers', 'ap');
?>
">
					<span><?php 
echo ap_count_ans_meta();
?>
</span>
					<?php 
_e('Ans', 'ap');
?>
				</a>
			</div>
			<div class="ap-list-inner">
Пример #2
0
function ap_question_the_answer_count()
{
    $count = ap_question_get_the_answer_count();
    echo '<a class="ap-questions-count ap-questions-acount" href="' . ap_answers_link() . '">' . sprintf(_n('%s ans', '%s ans', $count, 'ap'), '<span>' . $count . '</span>') . '</a>';
}
Пример #3
0
function ap_question_the_answer_count()
{
    echo '<a class="ap-questions-count ap-questions-acount" href="' . ap_answers_link() . '"><span>' . ap_question_get_the_answer_count() . '</span>' . __('ans', 'ap') . '</a>';
}
Пример #4
0
 public function activity_buttons()
 {
     if ('new_question' == bp_get_activity_type()) {
         echo '<a class="button answer bp-secondary-action" title="' . __('Answer this question', 'anspress-question-answer') . '" href="' . ap_answers_link(bp_get_activity_secondary_item_id()) . '">' . __('Answer', 'anspress-question-answer') . '</a>';
     }
 }