Exemplo n.º 1
0
			<span class="ap-about-rep-label"><?php 
_e('Total', 'ap');
?>
</span>
			<span class="ap-about-rep-count"><?php 
ap_user_the_reputation();
?>
</span>
		</div>
		<div class="ap-about-rep-chart">
			<span data-action="ap_chart" data-type="bar" data-peity='{"fill" : ["#8fc77e"], "height": 45, "width": "100%"}'><?php 
echo ap_user_get_28_days_reputation();
?>
</span>		
		</div>
		<div class="ap-user-rep">
			<?php 
if (ap_has_reputations()) {
    while (ap_reputations()) {
        ap_the_reputation();
        ap_get_template_part('user/reputation-content');
    }
    ap_pagination(false, anspress()->reputations->total_pages);
} else {
    _e('No reputation earned yet.', 'ap');
}
?>
		</div>
	</div>
</div>
Exemplo n.º 2
0
					<span class="ap-about-rep-count"><?php 
ap_user_the_reputation();
?>
</span>
				</div>

				<div class="ap-about-rep-chart">
					<span data-action="ap_chart" data-type="bar" data-peity='{"fill" : ["#8fc77e"], "height": 45, "width": "100%"}'><?php 
echo ap_user_get_28_days_reputation();
?>
</span>
				</div><!-- close .ap-about-rep-chart -->

				<div class="ap-user-rep">
					<?php 
if (ap_has_reputations(array('number' => 5))) {
    while (ap_reputations()) {
        ap_the_reputation();
        ap_get_template_part('user/reputation-content');
    }
}
?>
				</div><!-- close .ap-user-rep -->

			</div><!-- close .ap-about-rep -->

		</div><!-- close .ap-about-block-c -->
	</div><!-- close .ap-about-block -->

	<div class="ap-about-block">
		<h3><?php