Responding to your email here.
I was able to add reviews in each page but not sure how to do the archive page. To insert the code, can I insert them anywhere in the functions.php file?
Insert it anywhere after the <?php
.
The idea feature I’m looking for is to see a list of companies with their avatar/name/rating/excerpt and a call to action button next to it.
The code in the link shared above assumes that the company page the excerpt belongs to is either a page or a post. If you are using a custom post type for your companies, then you will need to change the code accordingly as explained in this code example.
I also want to sort the ranking by rating or by company name.
This is possible but you may need some custom code to sort by rank. This example shows how to write a WordPress query for a custom post_type that sorts by rank based on the assigned review ratings. The algorithm used by Site Reviews is the same one used by IMDB to sort films by rating.
Is this possible to do with your plugin? Or do I need to download other plugins to realize the function?
This is all possible to do with Site Reviews, however if you do not know much about WordPress theme development, then you may need to find a developer to help you with the custom stuff.