Файловый менеджер - Редактировать - /var/www/vhosts/allit.dev1.mndrn.cloud/wp-content/themes/allit/footer.php
Назад
<?php $numeriditelefono = get_field('contatti', 'options'); ?> <?php $social = get_field('social', 'options'); ?> <?php $prefooter = get_field('pre_footer', 'options'); ?> <?php if (is_page(array('azienda')) || is_front_page()) : ?> <div class="px-4 lg:px-0 pt-5"> <div class="relative bg-no-repeat bg-center bg-cover py-12 lg:py-20 px-4 text-2xl prose shadow-lg mx-auto z-10 rounded-lg -mb-[8rem] font-bold text-white max-w-7xl w-full lg:text-3xl" style="background-image: url('<?php echo $prefooter['banner_prefooter']; ?>');"> <?php echo $prefooter['testo_banner']; ?> </div> </div> <div class="px-4 relative bg-no-repeat bg-top bg-cover pt-48 lg:pt-32 pb-8 mx-autopx-4 lg:px-0 lg:text-2xl text-white" style="background-image: url('<?php echo $prefooter['background_prefooter']; ?>');"> <div class="max-w-7xl z-10 relative w-full mx-auto lg:pt-8 lg:pb-8"> <div class="text-3xl text-white"> <?php echo $prefooter['titolo']; ?> </div> <div class="mt-3 lg:mt-1"> <?php echo $prefooter['testo']; ?> </div> <div class="mt-4"> <div class="flex md:hidden"> <img src="<?php echo $prefooter['immagine']; ?>" alt=""> </div> <div class="hidden md:flex"> <img src="<?php echo $prefooter['immagine_desk']; ?>" alt=""> </div> </div> </div> <!-- appoggio 1 --> <div class="z-10 max-w-7xl relative w-full mx-auto"> <div class="rounded-lg text-center text-[#FFB703] mt-8 lg:mt-4 text-base transition-all duration-300 ease-in-out flex items-center lg:text-xl"> <a href="<?php echo $prefooter['cta']; ?>"> <button class="underline underline-offset-4 text-[#FFB703]"> <?php echo $prefooter['testo_cta']; ?> </button> </a> <i class="fa-solid fa-caret-right ml-2"></i> </div> </div> </div> <?php endif; ?> <div class="bg-[#e7ecef] p-4 lg:p-0 mt-auto"> <div class="max-w-7xl z-10 relative w-full mx-auto lg:flex lg:items-center lg:text-2xl"> <div class="lg:w-[80%] text-sm lg:text-xl "> <h5 class="text-[#204A81] font-bold mb-4 pt-10 lg:pt-0">Allit S.p.A.</h5> <div class=" text-[#204A81] mb-4"><?php the_field('sede_legale', 'options') ?></div> <a href="mailto:<?php the_field('mail_aziendale', 'options') ?>" class=" text-[#204A81] mb-4 block"><?php the_field('mail_aziendale', 'options') ?></a> <?php foreach ($numeriditelefono as $value) : ?> <?php if ($value['telefono'] != '') : ?> <a href="tel:<?php echo $value['telefono'] ?>" class=" text-[#204A81] block">Telefono: <?php echo $value['telefono'] ?> </a> <?php endif; ?> <?php if ($value['fax'] != '') : ?> <a href="tel:<?php echo $value['fax'] ?>" class=" text-[#204A81] block">Fax: <?php echo $value['fax'] ?> </a> <?php endif; ?> <?php if ($value['cellulare'] != '') : ?> <a href="tel:<?php echo $value['cellulare'] ?>" class=" text-[#204A81] block">Cellulare: <?php echo $value['cellulare'] ?> </a> <?php endif; ?> <?php endforeach; ?> <p class=" text-[#204A81] mb-4 mt-4 uppercase">P.IVA: <?php the_field('partita_iva', 'options') ?></p> </div> <div class="flex pt-6 pb-4 lg:flex-col lg:items-end"> <ul class="w-[50%] mx-auto lg:mx-0 lg:flex lg:flex-row lg:justify-end lg:gap-5 "> <?php foreach ($social as $value) : ?> <li class="mb-4 "> <a target="_blank" href="<?php echo $value['cta']; ?>"> <img src="<?php echo $value['icona']; ?>" class="w-10 h-auto" alt=""> </a> </li> <?php endforeach; ?> </ul> <div class="w-[50%] lg:pt-2> <a href="/" class="flex justify-end"> <img src="<?php the_field('logo_footer', 'options'); ?>" class="w-[80%] lg:w-auto" alt=""> </a> </div> </div> </div> </div> <?php wp_footer() ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.2.5 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка