Hi,
I’ve been trying to add some php supplied from your documentation (and elsewhere) to the child theme’s functions.php via WP > Appearance > Theme Editor, but I keep getting a “Something went wrong” error message from WordPress.
This has happened with the following php:
Add search shortcode
add_shortcode(‘avia_search’, ‘get_search_form’);
Adding header widget area
add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}
And adding a LinkedIn insight tag to the global footer.
Thanks,
Val
