[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

[WP Review Pro] Post Author Shows As Reviewer On Serp


frihet87
 Share

Recommended Posts

We are using the free version of WP Review, and there is no place to indicate the name of the reviewer on a post review...  as a result, the post author becomes the reviewer:

<span itemprop="author" itemscope itemtype="http://schema.org/Person"><metaitemprop="name" content="Moth Trap Ninja"></span>

 

Our intent is to post reviews that are emailed to us from customers, but we don't want to create a new author for the blog just to have them show as the review author.

 

Does the Pro Version allow the "Reviewer Name" to be set?

or is it an option I am just not noticing?

 

------------------

 

Second, when it comes to user review comments, where are they set?

I had tried the feature, but when opening a comment in the admin interface, I didn't see the review information.  Just like spam, when we read a comment, we screen for offensive language, and would also need to include the review as part of the screening.

Where are user comment reviews able to be viewed / removed etc.

 

Thanks.

 

 

post-332304-0-66078300-1432130863_thumb.png

Link to comment
Share on other sites

  • Support

Hello,

 

Thank you for using our WP Review Pro Plugin.

 

Unfortunately, the plugin doesn't offer an option to choose reviewer name. The post's author name is selected instead.

 

You can enable user ratings via comments like in this screenshot:

http://take.ms/KvYD1

 

The comments along with their ratings with be displayed along with other comments that you usually receive. If you are not seeing the rating information along with the comments, please enable it from Screen Options like in this screenshot:

http://take.ms/6txGE

 

Hope that helps, please don't hesitate to let us know if you need help with anything else.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

  • Support

Hello,

 

You can always tell us features you want to appear in future updates by opening a thread like this and we'll forward the suggestion to our developer team, which I have done to your suggestion. Let me know if you have other questions.

 

Than you.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

  • 9 months later...

Not sure if WP Review Pro has been enhanced, but I was just noticing that the WP Review 4.0.4 has code that implies support for setting the review author using either custom field "wp_review_custom_author" or "wp_review_author",  these appear around line 1081 in functions.php.

 

$custom_author = get_post_meta( $post_id, 'wp_review_custom_author', true );
$author_field  = get_post_meta( $post_id, 'wp_review_author', true );

 

I have added both of these fields in a post, but they are always ignored, and the post_author is used.

 

This line of code is the only reference to the 2 author fields.  
$author = ( !$author_field || empty( $author_field ) || !$custom_author ) ? get_the_author() : $author_field;

 

Can you provide guidance on how to use "wp_review_custom_author" or "wp_review_author" ?

 

Thanks.

Link to comment
Share on other sites

Guest Mladen.i

Hello,

 

Custom author is the feature of WP Review Pro plugin, but you can assign different author for each post with free plugin as well like this:

 

You could use ACF plugin - https://wordpress.org/plugins/advanced-custom-fields/ to add "Review Author" field in post edit screen and use that value in review.

 

You would need to create "wp-review" folder in your theme and copy default.php file from wp review plugins "box-templates" folder. After that you can edit the output of review box by editing wp-review/default.php in your theme. You would need to edit this line:

<span itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="name" content="<?php echo esc_attr( $review['author'] ); ?>"></span>

Instead of:

<?php echo esc_attr( $review['author'] ); ?>

you would echo the value from ACF plugin. Please read the documentation - http://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/.

 

Hope that helps.

 

Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...