Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dpowney

    (@dpowney)

    Hi Darville,

    Are you using a shortcode, auto placement or a widget? The plugin has an in-built template system which can be used to modify the rating results if needed.

    Thanks,
    Daniel

    Thread Starter Darville

    (@darville)

    Hi Daniel,

    Thank you for getting back so soon.

    I’m trying to use the rating plugin in my post titles (after the title), but not global, and no count.

    This is the only plugin I’ve come across that will let you put the stars in the title, and that looks amazing.

    Hope to hear from you.

    Plugin Author dpowney

    (@dpowney)

    Hi,

    Please see here: danielpowney.com/docs/template-system/

    You can copy the rating-result.php template file into your theme in a folder called ‘multi-rating’ and then remove the following lines from the template:

    if ( $show_count && $count != null ) {
    
    			$before_count = apply_filters( 'mr_rating_result_before_count', $before_count, $count );
    			$after_count = apply_filters( 'mr_rating_result_after_count', $after_count, $count );
    
    			?>
    			<span class="count"><?php echo $before_count . number_format( $count ) . $after_count; ?></span>
    			<?php
    		}

    Thanks,

    Thread Starter Darville

    (@darville)

    Hi,

    Thank you so much Daniel, you got yourself a new customer!:-)

    One last thing before closing this thread;

    How would I remove the count of stars, e.g. 3/5, and just have it show 3 stars?

    Best wishes,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Forced count of the rating plugin :-(’ is closed to new replies.