Remove Organization schema from Astra Theme
<?php // don't copy this line in your code. | |
add_action('init', 'your_prefix_setup_actions' ); | |
function your_prefix_setup_actions() { | |
remove_action( 'astra_masthead_content', 'astra_site_branding_markup', 8 ); | |
add_action( 'astra_masthead_content', 'your_prefix_header_markup', 8 ); | |
} | |
function your_prefix_header_markup() { | |
?> | |
<div class="site-branding"> | |
<div class="ast-site-identity"> | |
<?php astra_logo(); ?> | |
</div> | |
</div> | |
<!-- .site-branding --> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
apruis commentedMay 30, 2019
Please add what settings should be used in the custom layout