feat(display): region landing page with city grid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,10 +6,13 @@
|
||||
* Filtering stays server-side: every control lives inside #vc-filter-form and
|
||||
* submits via GET. VC_Display::filter_archive_query() reads the same state.
|
||||
*
|
||||
* Args: $vc_title, $vc_subtitle, $vc_query, $vc_form_action.
|
||||
* Args: $vc_title, $vc_subtitle, $vc_query, $vc_form_action, $vc_after_hero
|
||||
* (HTML printed between the hero and the results, e.g. the region city grid).
|
||||
*/
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
$vc_after_hero = isset( $vc_after_hero ) ? (string) $vc_after_hero : '';
|
||||
|
||||
$f = VC_Display::get_filter_state();
|
||||
|
||||
$vc_title = isset( $vc_title ) ? $vc_title : __( 'Explore Tours', 'viator-collector' );
|
||||
@@ -179,6 +182,8 @@ $vc_hero_img = vc_hero_image_source();
|
||||
<?php echo vc_ring_badge( 'SCROLL DOWN · SCROLL DOWN · ', '#tour-list', 'scroll' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
||||
</section>
|
||||
|
||||
<?php echo $vc_after_hero; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- built by the calling template. ?>
|
||||
|
||||
<section class="section" id="tour-list">
|
||||
<div class="container">
|
||||
<div class="results">
|
||||
|
||||
Reference in New Issue
Block a user