php /** * AM2 Theme * * @package AM2 * @subpackage Header Template */ use AM2\Theme\Functions; $profiles = Functions::render_social_links( 'header', 'Follow Us:', false ); $info = get_field('info','options'); $menu_mobile = wp_nav_menu( [ 'container_id' => 'resp-main-nav', 'container_class' => 'menu menu--responsive-menu', 'theme_location' => 'menu_main', // or get mobile if menu should be different ] ); $branding = []; if (class_exists('acf')) { $branding = get_field( 'branding', 'options' ); } if( $branding && $branding['logo'] ) { $branding['logo'] = wp_get_attachment_image( $branding['logo'], 'full', false ); } else { $branding['logo'] = get_bloginfo(); } if (class_exists('Timber')) { Timber::render( 'header/index.twig', [ 'branding' => $branding ?: false, 'cta' => get_field('header_cta','options'), 'info' => get_field('info','options'), 'header_style' => get_field('header'), 'social' => $profiles ?: false, 'menu' => [ 'mobile' => $menu_mobile, ] ] ); }

Error 404

Page not found

The page you are looking for was moved, removed, renamed or might never existed.