Comfort Job User Guide
The Comfort Job plugin is designed to simplify job management within WordPress. It provides features for job listings, company management, and various job-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.
- comfortjob.php: The main plugin file that initializes the plugin.
ComfortJob
The main class for the plugin, located in wp-content/plugins/comfortjob/includes/ComfortJob.php.
ComfortJobAdmin
Handles the admin functionalities of the plugin, located in ComfortJobAdmin.php.
ComfortJobPublic
Handles the public-facing functionalities of the plugin, located in ComfortJobPublic.php.
ComfortJobShortcode
Handles the public-facing functionalities of the plugin, located in ComfortJobShortcode.php.
Job Details
To display job details, use the following shortcode:
Job Archive
To display a list of job listings, use the following shortcode:
Employer Dashboard
To display the employer dashboard, use the following shortcode:
Candidate Dashboard
To display the candidate dashboard, use the following shortcode:
Job Dashboard
To display the job dashboard, use the following shortcode:
Frontend Job Management
- Create a new page in WordPress.
- Add the
[comfortjob_job_manager]shortcode to the page content. - Publish the page.
- Users can now submit job listings from the frontend.
Uninstallation
The uninstallation script is located in ComfortJobUninstall.php.
