Consolidate the plugin into the TourWebsite repository (its separate nested git repo has been removed). Includes the full new-design reskin: scoped design stylesheet, SVG icon sprite, rebuilt listing/single/section templates, and homepage hero/FAQ/testimonials shortcodes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4hNL1PSHxXbu94SCenpKj
23 lines
661 B
PHP
23 lines
661 B
PHP
<?php
|
|
/**
|
|
* Post-type archive for viator_tour — renders the shared listing UI.
|
|
*/
|
|
defined( 'ABSPATH' ) || exit;
|
|
get_header();
|
|
?>
|
|
<main class="vc-app vc-listing">
|
|
<?php
|
|
echo vc_get_template( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
|
'listing.php',
|
|
array(
|
|
// Deliberately location-agnostic; override with the vc_listing_title filter.
|
|
'vc_title' => __( 'Explore Tours & Experiences', 'viator-collector' ),
|
|
'vc_subtitle' => __( 'Find the best tours, activities and unforgettable experiences.', 'viator-collector' ),
|
|
'vc_crumb_label' => __( 'Tours', 'viator-collector' ),
|
|
)
|
|
);
|
|
?>
|
|
</main>
|
|
<?php
|
|
get_footer();
|