- 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 Remove Schema Pro Comments Added to Source Code?
When you enable schema on the page, the JSON-LD schema markup is added to the source code. Schema Pro plugin adds comments for this code just to indicate the starting and ending point. In the source code, comments will look like –
In case you want to remove these comments from the source code, use the following filter. This filter will remove comments with the suffix – Schema optimized by Schema Pro.
Note: Add the following code to your child theme’s functions.php file.
add_filter( 'wp_schema_pro_comment_before_markup_enabled', 'my_function', 10, 1 ); function my_function( $bool ) { return false; }
Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.
On this page