Add viator-collector plugin (Hop On Hop Off front-end reskin)
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
This commit is contained in:
22
viator-collector/templates/archive-viator_tour.php
Normal file
22
viator-collector/templates/archive-viator_tour.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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();
|
||||
Reference in New Issue
Block a user