Phase 05: Mentor Job Board - 3 plans created (parallel-ready) - 5 total tasks defined - Ready for execution Plans: - 05-01: Archive access control and query setup - 05-02: Job application form with provider notification - 05-03: Logo auto-crop to 200x200px All plans independent (depends_on: []), can execute in parallel.
4.0 KiB
phase, plan, type, depends_on, files_modified
| phase | plan | type | depends_on | files_modified | |
|---|---|---|---|---|---|
| 05-mentor-job-board | 03 | execute |
|
Purpose: Ensure all job logos display at consistent size regardless of upload dimensions, preventing layout issues in Elementor templates. Output: WordPress image size registration that auto-generates 200x200px cropped version on upload.
<execution_context> ~/.claude/get-shit-done/workflows/execute-plan.md ./summary.md </execution_context>
@.planning/PROJECT.md @.planning/ROADMAP.md @.planning/STATE.mdPrior work this plan builds on:
@.planning/phases/01-foundation-setup/01-02-SUMMARY.md @.planning/phases/01-foundation-setup/01-03-SUMMARY.md
Source files:
@includes/class-post-types.php @includes/class-acf-fields.php
Tech stack available: add_image_size() WordPress function, ACF image field with return_format='id' Established patterns:
- ACF image field returns attachment ID (Phase 01-03: job_logo with return_format='id')
- Singleton pattern for post types class (Phase 01-02)
- Image sizes available via wp_get_attachment_image_src()
Constraining decisions:
- Phase 01-03: Logo field returns image ID, not URL, enabling access to all registered sizes
- Phase 01-03: Logo field optional (required=0) so not all jobs have logos
- PROJECT.md: Logo auto-crop to 200x200px for consistent display
- ROADMAP.md Phase 5: Logo upload and auto-crop to 200x200px
<success_criteria>
- WordPress image size 'job-logo' registered and available
- Uploaded logos auto-generate 200x200px cropped version
- Size accessible via standard WordPress image functions
- Elementor templates can use 'job-logo' size for consistent display
- Phase 5 complete - mentor job board fully functional </success_criteria>
Phase 5 Plan 3: Logo Auto-Crop Summary
[Substantive one-liner - what shipped, not "phase complete"]
Accomplishments
- [Key outcome 1]
- [Key outcome 2]
Files Created/Modified
includes/class-post-types.php- Description
Decisions Made
[Key decisions and rationale, or "None"]
Issues Encountered
[Problems and resolutions, or "None"]
Next Step
Phase 5 complete. Ready for Phase 6: Email Notifications (mentor opt-in and async processing).