Skip to content

Commit

Permalink
#2777 Schema plugins condition added in Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
MARQAS committed Jan 3, 2019
1 parent 4bda2c9 commit 9e0059c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/vendor/amp/includes/amp-post-template-actions.php
Expand Up @@ -47,7 +47,7 @@ function amp_post_template_add_boilerplate_css( $amp_template ) {
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<?php
}
if(! is_plugin_active('structured-data-for-wp/structured-data-for-wp.php') && !defined( 'RANK_MATH_FILE' ) ):
if(! is_plugin_active('structured-data-for-wp/structured-data-for-wp.php') && !defined( 'RANK_MATH_FILE' ) && ! is_plugin_active('schema-and-structured-data-for-wp/structured-data-for-wp.php') ):
add_action( 'amp_post_template_footer', 'AMPforWP\\AMPVendor\\amp_post_template_add_schemaorg_metadata' );
function amp_post_template_add_schemaorg_metadata( $amp_template ) {
$metadata = $amp_template->get( 'metadata' );
Expand Down

0 comments on commit 9e0059c

Please sign in to comment.