Tagged: customization, functions.php, overwritten, update
I added some custom code to functions.php to show site title on top, next to logo. The code is:
add_action( 'ava_after_main_menu', 'enfold_customization_add_stuff_to_header' );
function enfold_customization_add_stuff_to_header() {
echo '<span class = "site_title">mytitle</span>';
}
In the meantime I upgraded Enfold to the latest version and this change was overwritten. Is there some other place I could put this customization to so it wouldn’t get overwritten after updates?
Hey calstore,
Are you using a child theme? If not, you need to so that your changes remain after updates.
Please refer to the following documentation: http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
Jordan Shannon