hey,
Is there a proper way to add ratings listings widgets without html:
<div class="gd-rating gd-rating-<?php echo esc_attr( $type ); ?> gd-rating-type-<?php echo $rating_type; ?>">
<span class="gd-rating-wrap" <?php if ( $rating_wrap_title ) {
echo "title='" . esc_attr( $rating_wrap_title ) . "''";
} ?>>
<span class="gd-rating-foreground" <?php echo $foreground_style; ?>>
<?php echo $rating_html; ?>
</span>
<span class="gd-rating-background" <?php echo $rating_color_off; ?>>
<?php echo $rating_html; ?>
</span>
</span>
<?php if ( $type == 'input' ) { ?>
<span class="gd-rating-text"
data-title="<?php _e( 'Select a rating', 'geodirectory' ); ?>"><?php _e( 'Select a rating', 'geodirectory' ); ?></span>
<input type="hidden" id="geodir_overallrating" name="geodir_overallrating"
value="<?php echo esc_attr( $rating ); ?>"/>
<?php } ?>
</div>
Can I only display ratings without all the above code, I need to have a complete control from my theme.
Thank you