Skip to content

Instantly share code, notes, and snippets.

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(); ?>
<!-- .site-branding -->

This comment has been minimized.

Copy link

@apruis apruis commented May 30, 2019

Please add what settings should be used in the custom layout

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.