外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Tour Location Manager adds a fully independent, hierarchical Location taxonomy to WooCommerce — completely separate from product categories and tags.
Organise your tours, activities, and services by Country → State/Province → City, with SEO-friendly archive pages, a collapsible location tree shortcode, and a WooCommerce-style thumbnail grid shortcode.
Key Features
Hierarchical Location taxonomy (Country > State/Province > City) attached to WooCommerce products.
Location thumbnails — upload a thumbnail image per location via the media library (same as WooCommerce product categories).
[intstlm_tour_locations] shortcode — displays a WooCommerce-compatible thumbnail grid (same markup and styling as [product_categories]).
[intstlm_tour_location_menu] shortcode — renders a collapsible Country > State > City navigation tree.
SEO-friendly archive URLs, e.g. example.com/location/usa/california/los-angeles/
Custom archive template — country/state pages show child locations + products; city pages show products only. Theme-overridable.
Admin product list integration — Locations column and filter dropdown on the Products list table.
Display Order field — manually sort locations with a numeric order field (lower numbers first).
Settings page under Products → Location Settings.
WooCommerce HPOS compatible (High Performance Order Storage).
Translation-ready — .pot file included, ints-tour-location-manager text domain.
Shortcodes
Location grid (like WooCommerce categories):
[intstlm_tour_locations ids="1,2,3" orderby="include" columns="4" show_counts="yes"]
Attributes: ids, orderby (name/count/slug/id/include), order (ASC/DESC), columns (1–6), hide_empty (0/1), parent, show_counts (yes/no).
Location navigation tree:
[intstlm_tour_location_menu parent="0" depth="3" show_counts="yes" expand_all="no"]
Requirements
WordPress 5.8+
WooCommerce 5.0+
PHP 7.4+
Developer-Friendly
Filter taxonomy registration args via intstlm_taxonomy_args.
Override the archive template by placing taxonomy-location.php in your theme.
Helper functions: intstlm_get_term_depth(), intstlm_get_location_ancestors(), intstlm_get_location_breadcrumb(), intstlm_get_products_for_location(), and more.
