|
/ Documentation /General/ Disable Schema Markup on AMP Pages/Posts

Disable Schema Markup on AMP Pages/Posts

Schema Pro version 1.5.0 and above automatically adds structured data to AMP pages. In case you wish to disable it, use the following filter.

You would need to copy and paste the following code into the child theme’s functions.php file.

add_filter( 'wp_schema_pro_remove_amp_schema_markup', 'disable_amp_schema', 10, 1 );

function disable_amp_schema($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.

Need help? Contact Support
%title %title
On this page

WAIT!!

You’re Missing the Biggest Discount of the Year!

00
Months
00
Days
00
Hours
00
Minutes
00
Seconds

Grab this rare opportunity to save up to 30%

100% Risk-Free Money Back Guarantee!

🔥 Extended Cyber Savings: Shop Before It’s Gone!

00
Months
00
Days
00
Hours
00
Minutes
00
Seconds
Scroll to Top