• Is there a way to just show the star rating?

    Attempting to make a site where it will have the line that says “Average Rating”, followed by the stars, and then the number of reviews.

    Using this code:

    [WPCR_SHOW POSTID=”342″ NUM=”0″ PAGINATE=”0″ PERPAGE=”0″ SHOWFORM=”0″ HIDEREVIEWS=”1″ HIDERESPONSE=”0″ SNIPPET=”” MORE=”” HIDECUSTOM=”0″]

    However, it shows the business name above it. Looking to find a way to remove the business name so it simply shows the one line with the review rating.

Viewing 1 replies (of 1 total)
  • Hi,
    For me that code didn’t work. I have the customer reviews enabled on the page, because when disabled the aggregate rating shows zero. Even with NUM=”0″ PERPAGE=”0″ HIDEREVIEWS=”1″ the review was still showing up. I found this workaround (even not the best solution), where I added 1 review to show up, shortened the content with the SNIPPET=”1″ .

    <?php echo do_shortcode(‘[WPCR_SHOW POSTID=”‘.$post->ID.'” NUM=”1″ PAGINATE=”0″ PERPAGE=”” SHOWFORM=”0″ HIDEREVIEWS=”0″ HIDERESPONSE=”0″ SNIPPET=”1″ MORE=”” HIDECUSTOM=”0″ ] ‘); ?>

    To hide the title of the review, business (or product) and the review itself I used CSS in my stylesheet:

    .wpcr3_aggregateRating_overallText,
    .wpcr3_item_name,
    .wpcr3_review {
    display: none;
    }

    Hope it helps ??

Viewing 1 replies (of 1 total)
  • The topic ‘Only Show Star Rating?’ is closed to new replies.