Skip to content

Instantly share code, notes, and snippets.

@akther80
Created November 7, 2018 06:08
Show Gist options
  • Save akther80/c04f8e8b220dca66b4388f9ebf4a7598 to your computer and use it in GitHub Desktop.
Save akther80/c04f8e8b220dca66b4388f9ebf4a7598 to your computer and use it in GitHub Desktop.
Electro - Footer After Custom Text
if ( ! function_exists( 'electro_child_footer_custom_content_2' ) ) {
function electro_child_footer_custom_content_2() {
if( is_front_page() ) { ?>
<div class="footer-after-custom-text">
<div class="container">
Your Text Here - 2
</div>
</div>
<?php }
}
}
add_action( 'electro_footer_v2', 'electro_child_footer_custom_content_2', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment