?> "><?php the_title(); ?> </a></h3> <a href="<?php the_permalink(); ?> " class="btn btn-xs btn-primary pull-right">View</a> </div> <div class="panel-body clearfix"> <div class="row"> <div class="col-xs-6"> <?php if (function_exists("kk_star_ratings")) { echo kk_star_ratings($pid); } ?> </div> <div class="col-xs-6 text-right large text-muted"> <i class="fa fa-comment"></i> <?php comments_number('0', '1', '%'); ?> </div> </div> </div> </div> </div> <?php $counter++; ?>
function aviators_templates_helpers_kk_star_ratings($attrs = NULL) { if (function_exists('kk_star_ratings')) { return kk_star_ratings($attrs); } }
function hocwp_star_ratings($post_id = null) { if (function_exists('kk_star_ratings')) { $post_id = hocwp_return_post($post_id, 'id'); echo kk_star_ratings($post_id); } }