Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
Adds regional subdomains and city selection to websites.
This plugin adds geographic functionality to a content management system, enabling sites to serve content based on a user's city or region. It is designed for developers building multi-location websites, such as business directories or service area pages.
City Object: Provides a global object with properties like city name and alias, plus methods to generate subdomain URLs and retrieve a list of all cities. Region Data: Each city object can return its associated region, including the region's name and code. Static Utilities: Includes helper methods to fetch the site's root domain and the current subdomain name directly. User Interface: Automatically injects a modal interface into the site footer. This UI asks visitors to confirm their detected city and provides a searchable list to select a different one. Frontend Integration: The included modal works with Fancybox for presentation and includes live search filtering for the city list.
A plugin that manages cities and regions for multi-location sites. It provides a searchable modal for users to select their location.