refactor accesibilidad etiquetas y encabezados
This commit is contained in:
@@ -463,6 +463,14 @@ class StarterSite extends Site {
|
||||
$context['listContacts'] = $this->getListContacts();
|
||||
$context['footer_1'] = get_field('footer_text_1', 'option');
|
||||
$context['footer_2'] = get_field('footer_text_2', 'option');
|
||||
$footer_img_id = get_option('options_logo_footer');
|
||||
if ($footer_img_id) {
|
||||
$context['footer_img'] = wp_get_attachment_image_url($footer_img_id, 'full');
|
||||
$context['footer_img_alt'] = get_post_meta($footer_img_id, '_wp_attachment_image_alt', true);
|
||||
} else {
|
||||
$context['footer_img'] = '';
|
||||
$context['footer_img_alt'] = '';
|
||||
}
|
||||
|
||||
//Otras páginas
|
||||
$context['enlaces'] = $this->getEnlaces();
|
||||
|
||||
Reference in New Issue
Block a user