🚀 Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
users
/
2
/
fujibow
/
web
/
ra-in-bow.co.jp
/
wp-content
/
themes
/
rainbow_theme
✏️
Editing: single-work.php
<?php get_header();?> <div id="content" class="single subpage"> <div class="head_tit event"> <div class="panlist"> <a href="<?php echo home_url();?>">HOME</a> <span>施工実績</span> </div> <!-- /.panlist --> <div class="ib"> <h2> <img src="<?php echo gdu();?>/img/tit3.svg" alt=""> <span>施工実績</span> </h2> </div> <!-- /.ib --> </div> <!-- /.head_tit --> <div class="content_contents single"> <div class="ib"> <h2> <?php the_title();?> </h2> <div class="cat_list"> <?php if(get_field('time')):?> <div class="cat"> <?php the_field('time');?> </div> <!-- /.cat --> <?php endif;?> <?php $terms = get_the_terms(get_the_ID(), 'kind'); if ($terms && !is_wp_error($terms)) : ?> <div class="cat"> <?php foreach ($terms as $term): ?> <a href="<?php echo esc_url(get_term_link($term)); ?>"> <?php echo esc_html($term->name); ?> </a> <?php endforeach; ?> </div> <!-- /.cat --> <?php endif; ?> </div> <!-- /.cat --> <div class="work_gallery"> <div class="swiper mySwiper2"> <div class="swiper-wrapper"> <?php if(have_rows('img_repeat')): ?> <?php while(have_rows('img_repeat')): the_row(); ?> <div class="swiper-slide"> <img src="<?php the_sub_field('img'); ?>" alt=""> </div> <?php endwhile; ?> <?php endif; ?> </div> <div class="swiper-button-next"></div> <div class="swiper-button-prev"></div> </div> <div thumbsSlider="" class="swiper mySwiper"> <div class="swiper-wrapper"> <?php if(have_rows('img_repeat')): ?> <?php while(have_rows('img_repeat')): the_row(); ?> <div class="swiper-slide"> <img src="<?php the_sub_field('img'); ?>" alt=""> </div> <?php endwhile; ?> <?php endif; ?> </div> </div> <!-- Initialize Swiper --> <script> var swiper = new Swiper(".mySwiper", { loop: true, spaceBetween: 15, slidesPerView: 4, freeMode: true, watchSlidesProgress: true, }); var swiper2 = new Swiper(".mySwiper2", { loop: true, spaceBetween: 10, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev", }, thumbs: { swiper: swiper, }, }); </script> </div> <!-- /.work_gallery --> <?php if(get_field('text')):?> <p> <?php the_field('text');?> </p> <?php endif;?> <div class="df_fe"> <a href="<?php echo home_url();?>/works/" class="btn tac">施工実績トップ</a> </div> <!-- /.df_fe --> </div> </div> </div> <?php get_footer();?>
💾 Save Changes
❌ Cancel