Файловый менеджер - Редактировать - /var/www/gravitycm.com/wp-content/themes/gravity/footer.php
Назад
<?php /** * The template for displaying the footer * * Contains the closing of the #content div and all content after. * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package gravity */ ?> <footer id="colophon" class="site-footer"> <div class="container"> <div class="top-footer-wrap"> <div class="footer-menu-wrap"> <div class="footer-menu"> <!-- <nav id="site-navigation" class="main-navigation"> --> <?php wp_nav_menu( array( 'theme_location' => 'menu-1', 'menu_id' => 'primary-menu', ) ); ?> </div> <div class="social-group"> <ul> <?php $address = get_field('address','option'); $address_link = get_field('address_link','option'); if($address && $address_link){ ?> <li> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/Map.svg"/> <a target="_blank" href="<?php echo $address_link; ?>"><?php echo $address; ?></a> </li> <?php } ?> <?php $conatct_number = get_field('conatct_number','option'); if($conatct_number){ ?> <li> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/Phone.svg"/> <a href="tel:<?php echo $conatct_number; ?>"><?php echo $conatct_number; ?></a> </li> <?php } ?> <?php $other_email = get_field('other_email','option'); if($other_email){ ?> <li> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/Mail.svg"/> <a href="mailto:<?php echo $other_email; ?>"><?php echo $other_email; ?></a> </li> <?php } ?> </ul> </div> </div> <?php $other_link = get_field('other_link','option'); if($other_link){ ?> <div class="footer-btn"> <a href="<?php echo $other_link['url']; ?>" class="btn footer-btn"><?php echo $other_link['title']; ?></a> </div> <?php } ?> </div> <div class="bottom-footer-wrap"> <?php $footer_logo = get_field('footer_logo','option'); $logo_img = wp_get_attachment_image($footer_logo['ID'],'full',false,array('class'=>'footer-logo')); if($footer_logo){ ?> <div class="footer-site-logo"> <a href="<?php home_url(); ?>"> <?php echo $logo_img; ?> </a> </div> <?php } ?> <div class="copy-right"> <div class="site-privacy-link"> <?php wp_nav_menu(array('menu' => '3')); ?> </div> <?php $footer_text = get_field('footer_text','option'); if($footer_text){ ?><p>© <?php echo get_bloginfo( 'name' ); ?> <?php echo date('Y'); ?> - <?php echo $footer_text; ?></p><?php } ?> </div> </div> </div> </footer><!-- #colophon --> </div><!-- #page --> <?php wp_footer(); ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.29 | Генерация страницы: 0.04 |
proxy
|
phpinfo
|
Настройка