refactor accesibilidad etiquetas y encabezados

This commit is contained in:
2025-11-03 11:03:58 +00:00
parent ed7c6cfcda
commit 803f86e4be
17 changed files with 69 additions and 43 deletions

View File

@@ -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();