Hi chade,
Are you talking about displaying a single review using the [select-review] shortcode, or the individual review post/permalink page?
If you’re talking about the individual review page, it would be your theme that controls the look and layout. Because the reviews are a custom post type, the single post page for review posts would, by default, make use of your theme’s single.php template file. If you’d like to modify the single post page for reviews, we’d suggest duplicating your single.php file and creating one specifically for our post type, as discussed here: https://codex.ww.wp.xz.cn/Post_Type_Templates. Our post type is called “urp_review”, so you’d want to call your template file “single-urp_review.php”.
sorry i didn’t explain it properly
Looking at making different review options for different products.
example like Mobile phones
If you want to review Apple then you would have a dropdown options like
Iphone 6
Iphone 7
Iphone 8
Iphone X
if you were going to do a review on Samsaung you would have dropdown options like
S6
S7
S8
S9
is that possible?
Cheers
Unfortunately, there is no option for that. There is no way to make the in-depth fields conditional based on product or other fields.
One thing you might be able to do is, if you’re using a separate review form on a separate page for each of those products, add both of the fields/dropdowns to the submit form and then use CSS hide one of the fields on one form and vice versa. You might be able to do this by wrapping the submit form in a div with a unique ID. For example:
<div id="myFirstReviewForm">
[submit-review product_name="iphone"]
</div>
And then add some custom CSS to hide the field just for the form within that unique div.
Please note that this isn’t something we’ve tried or tested, and as such do not know if or how well it might work. That being said, for this to work, the fields would have to be not required. And you’d have to be comfortable with CSS because it will probably take some trial and error.