Created
March 11, 2020 13:16
-
-
Save shubhw12/7cb7c94d1ce2825138fec95f3e839630 to your computer and use it in GitHub Desktop.
Add a div after the site branding div
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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