Last active
November 27, 2019 05:56
-
-
Save hmowais/f9e81897b40ead2017bb58089e7cdbcc to your computer and use it in GitHub Desktop.
add header elements in custom place
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
<?php | |
//go to avada-functions.php for more details | |
function my_custom_head_function_for_avada() { | |
//echo "<h3>+353 98 66011</h3>"; | |
$phone_number = do_shortcode( Avada()->settings->get( 'header_number' ) ); | |
echo "<h3>" . $phone_number . "</h3>"; | |
} | |
add_filter( 'avada_logo_append', 'my_custom_head_function_for_avada' ); | |
// get search form | |
get_search_form( false ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment