Emergency Database Plugin
Emergency Database Plugin
Introduction
[Screenshot: A featured image banner showcasing the plugin’s capabilities, perhaps with a map and location pins.]
Welcome to the comprehensive documentation for the Emergency Database plugin! This powerful tool empowers you to effortlessly manage and display crucial information about hotels and gas stations during emergencies or critical situations. Whether you’re a community administrator, emergency responder, or concerned citizen, this plugin will help you provide essential resources to those in need.
Key Features
- Custom Post Types: Easily create and manage Hotels and Gas Stations as custom post types within WordPress.
- Detailed Information: Store comprehensive data for each entry, including address, contact information, availability, pricing, pet policies, fuel types, and more.
- Shortcodes: Display lists of Hotels or Gas Stations on any page or post using simple shortcodes.
- Filtering: Refine displayed lists by various criteria, such as county, city, state, pet allowance, open/closed status, gas availability, and more.
- Sorting: Enable users to sort the lists by different columns for easy access to specific information.
- CSV Export: Download filtered lists as CSV files for offline use, sharing, or integration with other systems.
- Customizable Templates: Utilize single-page templates for Hotels and Gas Stations, featuring optimized layouts, image display, and formatted metadata.
Getting Started
- Installation: Download the plugin and upload it to your WordPress website. Activate it through the ‘Plugins’ menu.
- Adding Entries: Go to the “Hotels” and “Gas Stations” menus to add new entries. Fill in all the necessary details.
- Displaying Data: Use the
[id_emergency_hotels]
or[id_emergency_gas_stations]
shortcode on your desired pages. - Filtering and Sorting: Utilize URL parameters or shortcode attributes to filter the lists. Click on column headers to sort.
- Downloading CSV: Click the “Download CSV” link on the displayed lists to export the data.
Using Shortcodes
- Basic Usage:
[id_emergency_hotels]
or[id_emergency_gas_stations]
- Filtering by State:
[id_emergency_hotels state="CA"]
Advanced Filtering
You can combine multiple filters by appending them to the URL. For example:
/your-page/?county=Los Angeles&state=CA&pets=1
Customizing Templates
You can modify the single-page templates for Hotels and Gas Stations by copying the template files from the plugin’s directory to your theme’s directory and editing them as needed.
Frequently Asked Questions (FAQ)
[Include a list of common questions and answers about the plugin’s usage, troubleshooting, etc.]