diff --git a/src/AndairaSite.php b/src/AndairaSite.php index 6fb87ad..beb9345 100644 --- a/src/AndairaSite.php +++ b/src/AndairaSite.php @@ -152,6 +152,10 @@ class AndairaSite extends Site { function add_to_context( $context ) { // $context = parent::add_to_context($context); + + $context['menu'] = Timber::get_menu('menu-cabecera'); + $context['footer_menu'] = Timber::get_menu('menu-pie'); + // Servicios $svs = array( 'child_of' => 27, @@ -179,7 +183,10 @@ class AndairaSite extends Site { //Logotipos $context['logotipo_cabecera'] = get_field('logotipo_cabecera', 'option'); + $context['logotipo_destacado_portada'] = get_field('logotipo_destacado_portada', 'option'); + $context['enlaces_redes'] = get_field('enlaces_redes', 'option'); + //Mobile Detect $context['is_desktop'] = false; if ($this->detect->isMobile() == false and $this->detect->isTablet() == false) { diff --git a/views/footer.twig b/views/footer.twig index 0f87cd7..11a7fde 100644 --- a/views/footer.twig +++ b/views/footer.twig @@ -2,14 +2,6 @@