Different Names for "Author" and "Reviewed By" FIX
-
I realize this plugin is named “Author” hReview but the default function of adding the authors name and then also adding the same name for “reviewed by” just didn’t work for me. So I found the fix in case you also want to display a different name for author and reviewer.
Go to your plugins editor. Navigate to Author hReview files and click on the file named author-hreview/include/review_template.php
Search for the following code:
$box .= '<div class="clear_space"></div><div class="hr"><hr /></div>'; $box .= '<div>Reviewed by: <span class="reviewer author byline vcard hcard">'; $box .= '<span class="author me fn" itemprop="author">' . $review_author .'</span></span></div>';
Modify that code to this:
$box .= '<div class="clear_space"></div><div class="hr"><hr /></div>'; $box .= '<div>Reviewed by: NAME</div>';
…. replacing NAME with the actual name you wish to appear site wide as your reviewer.
I know this doesn’t work for everyone, but if you are publishing standard articles the last thing your readers want to see is a 1,000 word article written by john doe and then an additional review written by john doe. The review process should be left to the editor, etc. This fix allows you to designate who the site reviewer is.
You can see this in action on my scientific conspiracy blog.
As a note, I’m not sure how this will effect the way the info displays in google search results. Typically search engines display the stars and “reviewed by NAME” just beside the stars. Hopefully this fix will also show the same “reviewed by” in search results.
- The topic ‘Different Names for "Author" and "Reviewed By" FIX’ is closed to new replies.