Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.