first version
This commit is contained in:
@@ -9,44 +9,33 @@
|
||||
|
||||
?>
|
||||
|
||||
<footer id="colophon">
|
||||
|
||||
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
<aside role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'valier' ); ?>">
|
||||
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
||||
<footer style="background: url(<?= get_field('footer_image', 'option') ?>)">
|
||||
<?php if (is_active_sidebar('footer-sidebar')) : ?>
|
||||
<aside role="complementary" aria-label="<?php esc_attr_e('Footer', 'valier'); ?>" class="container mx-auto ">
|
||||
<?php dynamic_sidebar('footer-sidebar'); ?>
|
||||
</aside>
|
||||
<?php endif; ?>
|
||||
<div class="container mx-auto">
|
||||
<a href="<?= get_field('linkedin_link', 'option') ?>" target="_blank"
|
||||
class="flex justify-center gap-3 items-end mb-2">
|
||||
<img src="<?= get_field('abrevitura_de_linkedin', 'option') ?>" alt="Linkedin">
|
||||
<img src="<?= get_field('logo_linkedin', 'option') ?>" alt="Linkedin">
|
||||
|
||||
<?php if ( has_nav_menu( 'menu-2' ) ) : ?>
|
||||
<nav aria-label="<?php esc_attr_e( 'Footer Menu', 'valier' ); ?>">
|
||||
</a>
|
||||
</div>
|
||||
<div class="bg-primary text-black py-2 has-playfair-font-family">
|
||||
<div class="container mx-auto has-mini-font-size flex justify-center gap-3 italic">
|
||||
<?= get_field('texto_legal', 'option') ?>
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'menu-2',
|
||||
'menu_class' => 'footer-menu',
|
||||
'depth' => 1,
|
||||
'theme_location' => 'menu-legal',
|
||||
'container' => false,
|
||||
'menu_id' => 'menu-legal',
|
||||
'items_wrap' => '<ul id="%1$s" class="%2$s flex justify-center gap-3" aria-label="submenu">%3$s</ul>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<div>
|
||||
<?php
|
||||
$vlr_blog_info = get_bloginfo( 'name' );
|
||||
if ( ! empty( $vlr_blog_info ) ) :
|
||||
?>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>,
|
||||
<?php
|
||||
endif;
|
||||
|
||||
/* translators: 1: WordPress link, 2: WordPress. */
|
||||
printf(
|
||||
'<a href="%1$s">proudly powered by %2$s</a>.',
|
||||
esc_url( __( 'https://wordpress.org/', 'valier' ) ),
|
||||
'WordPress'
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</footer><!-- #colophon -->
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user