| Server IP : 39.106.62.82 / Your IP : 216.73.216.240 Web Server : nginx/1.14.1 System : Linux iz2ze1m0zmp2dk5c3j5ap5z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /webdata/gohomesh.com/wp-content/themes/gongheng/ |
Upload File : |
<?php get_header() ?>
<?php /* PostType Page Template: 老建筑详细页 */ ?>
<!--主体-->
<div class="content">
<!--enjoy-->
<div class="housingwarp enjoywarp">
<div class="housing01 enjoy01">
<div class="toback" aos="fade-up">
<a href="/old-building-appreciation-cat/old-shanghai-style/"><i></i>返回列表</a>
</div>
<!--轮播-->
<div class="imgmin" aos="fade-up">
<h3><?php the_title() ?></h3>
<div class="imgslider" aos="fade-up">
<div class="swiper-container">
<div class="swiper-wrapper">
<?php $imgs = wpdit_get_post_images(get_field('imgs'))[1]; ?>
<?php foreach($imgs as $img): ?>
<div class="swiper-slide">
<img src="<?php echo $img; ?>" />
</div>
<?php endforeach; ?>
</div>
<div class="page">
<div class="swiper-button-prev fa fa-angle-left"></div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<!-- Add Arrows -->
<div class="swiper-button-next fa fa-angle-right"></div>
</div>
</div>
</div>
<script type="text/javascript" src="/style/js/swiper.min.js" ></script>
<script>
var swiper = new Swiper('.swiper-container', {
slidesPerView: 1,
spaceBetween: 0,
loop: true,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
</script>
</div>
<div class="enjoy01text">
<strong class="linetwo" aos="fade-up"></strong>
<div class="item" aos="fade-up">
<?php echo replace_text_wps(get_field('content')); ?>
</div>
<div class="enj-fy" aos="fade-up">
<?php
$prev_post = get_previous_post();
$next_post = get_next_post();
?>
<a href="<?php echo get_permalink( $prev_post->ID ); ?>"><i class="fa fa-angle-left" aria-hidden="true"></i>上一篇</a>
<a href="<?php echo get_permalink( $next_post->ID ); ?>">上一篇<i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>
</div>
</div>
</div>
</div>
<?php get_footer() ?>