Skip to content

Instantly share code, notes, and snippets.

@shubhw12
Created March 11, 2020 13:16
Show Gist options
  • Select an option

  • Save shubhw12/7cb7c94d1ce2825138fec95f3e839630 to your computer and use it in GitHub Desktop.

Select an option

Save shubhw12/7cb7c94d1ce2825138fec95f3e839630 to your computer and use it in GitHub Desktop.
Add a div after the site branding div
/**
* Site Title / Logo
*
* @since 1.0.0
*/
function astra_site_branding_markup() {
?>
<div class="site-branding">
<div
<?php
echo astra_attr(
'site-identity',
array(
'class' => 'ast-site-identity-das',
)
);
?>
>
<?php astra_logo(); ?>
</div>
</div>
<div>
MY text
</div>
<!-- .site-branding -->
<?php
}
add_action( 'astra_masthead_content', 'astra_site_branding_markup', 8 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment