Hello, we’re sorry to hear that you’re experiencing issues with using custom fields for Pros & Cons in the Product Review schema. It seems that the custom fields you’ve created are not displaying correctly in the schema template.
To resolve this issue, you can define a new variable using a filter to get the value from the ACF field and use it in the Schema Generator. Here’s an example of how you can register a new variable in the Rank Math plugin:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
// Your custom code here
}, 10, 2 );
You can also refer to our knowledge base article on how to use ACF fields in the Schema Generator for more detailed instructions: How to Use ACF Fields in Schema Generator.
If you need further assistance, please feel free to reply, and we’ll be happy to help.
Sources:
How to Easily Add Pros and Cons Schema Using Rank Math PRO » Rank Math
Movie Schema Type » Rank Math
Using Review Schema Type to Earn Star Ratings » Rank Math
How to Use ACF Fields in Schema Generator » Rank Math
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.