Comfort Events User Guide
The Comfort Events plugin is designed to simplify event management within WordPress. It provides features for event listings, event builder related functionalities.
File Structure
Key Files and Directories
- assets/: Contains CSS, JavaScript, and vendor files.
- includes/: Contains core PHP files for the plugin, including API routes, controllers, helpers, models, and main plugin classes.
- templates/: Contains template files for the plugin's frontend and admin views.
- comfortevents.php: The main plugin file that initializes the plugin.
ComfortEvent
The main class for the plugin, located in wp-content/plugins/comfortevents/includes/ComfortEvent.php
.
ComfortEventAdmin
Handles the admin functionalities of the plugin, located in ComfortEventAdmin.php
.
ComfortEventPublic
Handles the public-facing functionalities of the plugin, located in ComfortEventPublic.php
.
ComfortEventShortcode
Handles the public-facing functionalities of the plugin, located in ComfortEventShortcode.php
.
Event Details
To display event details, use the following shortcode:
Event Archive
To display a list of event listings, use the following shortcode:
Event Dashboard
To display the event dashboard, use the following shortcode:
Frontend Event Management
- Create a new page in WordPress.
- Add the
[comfortevent_event_manager]
shortcode to the page content. - Publish the page.
- Users can now submit event listings from the frontend.
Uninstallation
The uninstallation script is located in ComfortEventUninstall.php.