- Add an Extra Field for a Schema Type
- Enable/Disable Schema Markup
- Add Ratings Using Shortcode
- Disable a Specific Schema Markup
- Add Schema Markup on Subcategories
- Disable the White Label Settings
- Disable Corporate Contact Schema
- Remove Home List Item from Breadcrumblist Schema
- Remove Shop Item Link on Product Page
- Test a Schema Snippet
- Mapping Your Schema Fields
- Add an Extra Field for a Schema Type
- How to Use the Schema Pro plugin?
- All-in-one Schema Pro plugin
- Map Required fields with Custom Fields
- Create a Custom Fields
- Target Specific Areas of the Website
- Enable/Disable Schema Markup
- Add Ratings Using Shortcode
- How to Add a Schema markup for an Article on your website?
- What is the Difference between the Free and Pro Plugin?
- How to map fields with custom fields from third party plugins?
- Accept User Ratings from Users
- Update Schema Pro
- Register Your Copy of Schema Pro
- Organization Type in the Setup Wizard
- Schema Pro Setup Wizard
- Getting Started With Schema Pro
- How To Install Schema Pro Plugin
- Schema Markup for an Event page
- Schema Markup for a Review page
- Schema Markup for a Local Business Page
- Schema Markup for a Service Page
- Schema Markup for a Product Page
- Schema Markup for a Course page
- Schema Markup for a Recipe Page
- Schema Markup for a Person/ About Page
- Schema Markup for a Job Posting Page
- Schema Markup for a Video Object
How to Disable Video Fields From the Recipe Schema Markup?
Let’s say the recipe page on your website does not have a recipe video, and you need to remove the video fields from the Recipe Schema Markup,
You can achieve the same using the filter provided below –
You will need to use the filter – wp_schema_pro_remove_video_markup_enabled to remove the video fields from the recipe schema’s markup.
For that, visit your child theme’s functions.php file, and add the following filter at the bottom of the file –
Filter: add_filter( ‘wp_schema_pro_remove_video_markup_enabled’, ‘custom_disable_vc_schema’, 10, 3 );
Description: This filter is built to disable the video fields from the recipe schema markup
add_filter( 'wp_schema_pro_remove_video_markup_enabled', 'custom_disable_vc_schema', 10, 3 ); function custom_disable_vc_schema( $bool ) { return false; }
After you add the filter, it will disable the video fields from Recipe’s Schema Markup!
Important Note: It is not a compulsory field, while you will see a warning in Google Structured Testing Tool. And it won’t affect your rich snippet anyhow.
We don't respond to the article feedback, we use it to improve our support content.