Файловый менеджер - Редактировать - /home/pimjdymy/public_html/zeroesops/wp-content/themes/zeroesops/page-templates/contact-template.php
Назад
<?php /* Template Name: Contact Us Template*/ get_header(); ?> <?php get_template_part( 'template-parts/content', 'breadcrumbs' ); ?> <div id="main-wrapper"> <div class="site-wrapper-reveal"> <!--==================== Conact us Section Start ====================--> <?php if( get_field( 'left_col_heading' ) || get_field( 'left_col_content' ) || get_field( 'right_col_content' ) ): ?> <div class="contact-us-section-wrappaer section-space--pt_100 section-space--pb_70"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-6 col-lg-6"> <div class="conact-us-wrap-one mb-30"> <?php if( get_field( 'left_col_heading' ) ): ?> <h3 class="heading"><?php echo get_field( 'left_col_heading' ); ?></h3> <?php endif; ?> <?php if( get_field( 'left_col_content' ) ): ?> <div class="sub-heading"><?php echo get_field( 'left_col_content' ); ?></div> <?php endif; ?> </div> </div> <div class="col-lg-6 col-lg-6"> <?php if( get_field( 'right_col_content' ) ): ?> <div class="contact-form-wrap"> <!-- <form id="contact-form" action="http://whizthemes.com/mail-php/jowel/mitech/php/mail.php" method="post"> --> <?php echo get_field( 'right_col_content' ); ?> </div> <?php endif; ?> </div> </div> </div> </div> <?php endif; ?> <!--==================== Conact us Section End ====================--> <!--==================== Conact us info Start ====================--> <?php if( have_rows('contact_address_info') ): ?> <div class="contact-us-info-wrappaer section-space--pb_100"> <div class="container"> <div class="row align-items-center"> <?php while ( have_rows('contact_address_info') ) : the_row(); ?> <div class="col-lg-4 col-md-6"> <div class="conact-info-wrap mt-30"> <?php if( get_sub_field( 'city_name' ) ): ?> <h5 class="heading mb-20"><?php echo get_sub_field( 'city_name' ); ?></h5> <?php endif; ?> <ul class="conact-info__list"> <?php if( get_sub_field( 'address' ) ): ?> <li><?php echo get_sub_field( 'address' ); ?></li> <?php endif; ?> <?php $email = get_sub_field( 'email' ); if( $email ): $emailUrl = $email['url'] ? $email['url'] : '#'; $emailTitle = $email['title']; ?> <li><a href="<?php echo $emailUrl; ?>" class="hover-style-link text-color-primary"><?php echo $emailTitle; ?></a></li> <?php endif; ?> <?php $phone = get_sub_field( 'phone' ); if( $phone ): $phoneUrl = $phone['url'] ? $phone['url'] : '#'; $phoneTitle = $phone['title']; ?> <li><a href="<?php echo $phoneUrl; ?>" class="hover-style-link text-black font-weight--bold"><?php echo $phoneTitle; ?></a></li> <?php endif; ?> </ul> </div> </div> <?php endwhile; ?> </div> </div> </div> <?php endif; ?> <!--==================== Conact us info End ====================--> <!--========== Call to Action Area Start ============--> <?php get_template_part( 'template-parts/content', 'call-to-action' ); ?> <!--========== Call to Action Area End ============--> </div> <?php get_footer();
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка