| Server IP : 148.113.13.24 / Your IP : 216.73.217.94 Web Server : Apache/2.4.59 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux o1.zxs.ovh 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : b051826 ( 1041) PHP Version : 8.2.19 Disable Function : 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,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/b051826/web/zenpathjapan.com/public_html/wp-content/themes/zenpathjapan/ |
Upload File : |
<?php
/**
* page-guide.php — Topic Feature Page (type: ガイド / Curated guide).
* Chosen for this concept (travel + lifestyle). Slug: /guide.
* Real, useful curated entries (10+) from theme-data + ItemList schema. No CTA.
*/
defined('ABSPATH') || exit;
$entries = zpj_dataset('guide'); // [['title','area','season','note'], ...] (Stage 5)
get_header();
while (have_posts()) : the_post(); ?>
<article class="zpj-page zpj-guide">
<?php if (has_post_thumbnail()) : ?>
<div class="zpj-page-banner zpj-zone" style="min-height:40vh">
<?php the_post_thumbnail('zpj-wide', ['class' => 'zpj-zone__img', 'loading' => 'eager', 'fetchpriority' => 'high']); ?>
<div class="zpj-zone__cap"><span class="zpj-zone__kicker">GUIDE</span><span class="zpj-zone__title"><?php the_title(); ?></span></div>
</div>
<?php endif; ?>
<div class="zpj-wrap" style="max-width:880px">
<?php zpj_breadcrumbs(); ?>
<div class="zpj-content"><?php the_content(); ?></div>
<?php if (!empty($entries)) : ?>
<ol class="zpj-guide-list">
<?php foreach ($entries as $i => $e) : ?>
<li class="zpj-guide-item">
<span class="zpj-guide-item__no"><?php echo str_pad($i + 1, 2, '0', STR_PAD_LEFT); ?></span>
<div class="zpj-guide-item__body">
<h3 class="zpj-guide-item__title"><?php echo esc_html($e['title']); ?></h3>
<p class="zpj-guide-item__meta">
<?php if (!empty($e['area'])) : ?><span class="zpj-guide-item__area"><?php echo esc_html($e['area']); ?></span><?php endif; ?>
<?php if (!empty($e['season'])) : ?><span class="zpj-guide-item__season"><?php echo esc_html($e['season']); ?></span><?php endif; ?>
</p>
<?php if (!empty($e['note'])) : ?><p class="zpj-guide-item__note"><?php echo esc_html($e['note']); ?></p><?php endif; ?>
</div>
</li>
<?php endforeach; ?>
</ol>
<?php zpj_print_jsonld(zpj_jsonld_itemlist($entries, get_the_title())); ?>
<?php endif; ?>
</div>
</article>
<?php endwhile; get_footer();