Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chetan Chauhan

    (@chetanchauhan)

    Hi vantom, thank you for your feedback.

    Yes, you can display rating on the featured image, but for that you will have to create an archive-review.php file in the root of your theme (preferably child theme). You can use archive.php or index.php as a starting point for your archive-review.php. See template hierarchy.

    Once, you are done creating the archive-review.php, just use
    <?php rct_rating_html( rct_get_review_rating(), rct_get_rating_type() ); ?>
    to display rating wherever you want. .

    I hope that helps.

    Thanks

    Thread Starter vantom

    (@vantom)

    Thank you for the quick reply.

    For clarity:
    Just copy archive.php, changes name to archive-review.php and put in the root of my theme, yes?

    Plugin Author Chetan Chauhan

    (@chetanchauhan)

    Yes and add <?php rct_rating_html( rct_get_review_rating(), rct_get_rating_type() ); ?> in archive-review.php to actually display rating.
    If you are having trouble finding where to add rct_rating_html() in archive-review.php, you may contact your theme author.

    Thread Starter vantom

    (@vantom)

    Thank you so much!

    Thread Starter vantom

    (@vantom)

    DELETED

    —– EDIT—–

    nvm, problem solved ??

    Thx again for help and great plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Displaying rating on the featured image’ is closed to new replies.