Automattic / Automattic/WP-Job-Manager
[Bug] Amenities not loading on front-end + image preview only works for logged-in users (WP Job Manager + Lestin)
- Dominant language
- PHP
- Stars
- 899
- Forks
- 369
- Avg merge
- 11h 37m
- Merged PRs (30d)
- 12
Description
Bug Report: WP Job Manager Issues in Lestin Theme
Hello Team,
I’m using the Lestin theme with the WP Job Manager plugin and have noticed two critical issues:
1. Amenities not showing on front-end submissions
- When a user submits a listing from the front-end form, the amenities do not display based on the selected category.
- Amenities load correctly when creating or editing a listing from the WordPress dashboard.
- Expected behavior: Amenities should dynamically load on the front-end submission form when a category is selected.
2. Image preview only works for logged-in users
- On the front-end submission form, image previews do not show unless the user is logged in.
- For non-logged-in users, only the file name appears on hover, but no actual image preview is visible.
- Once logged in, the preview works as expected.
Screenshots
Without Login (image names only, no preview):

Logged In (amenities + image preview work correctly):


Summary
- Amenities filtering by category is not working on the front end, only in the dashboard.
- Image previews are restricted to logged-in users, while guests only see filenames.
Both of these are core features for front-end submissions, so resolving them is important for our live project. Could you please investigate and provide a fix?
Thank you for your time and support!
Contributor guide
Research direction
Start by reproducing both front-end submission problems in the WP Job Manager integration with the Lestin theme, comparing guest and logged-in behavior and the dashboard flow. Trace category-based amenity loading and image preview handling, then verify that amenities appear after category selection and previews work for unauthenticated users as well as logged-in users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100