Skip to content

v1.1.1

Latest

Choose a tag to compare

@boopathirbk boopathirbk released this 23 Apr 04:38
· 3 commits to main since this release

Key Changes:

  • ✨ Individual Location Display & Filtering: Jobs assigned multiple locations in the editor now render as separate, distinct items on the frontend list. The location filter dropdown is now correctly populated with unique individual location names, allowing users to filter for jobs available in a specific single location.
  • ✨ Location(s) Label: The "Location" label on the frontend job item now correctly displays "Location(s)" if more than one location was originally assigned to the job posting in the editor.
  • ✨ Clear Button Text: Renamed the "Clear All" button to the more accurate "Clear Selection".
  • 🎨 Clear Button Styling: Adjusted the "Clear Selection" button's appearance (padding, icon spacing, font size, etc.) to visually match the filter dropdowns more closely.
  • 🐛 Location Filter Fix: Corrected the JavaScript logic to properly de-duplicate location options in the filter dropdown, ensuring each unique location name appears only once.
  • 🐛 PHPCS Fixes: Addressed PHP Code Sniffer warnings reported by the WordPress Plugin Check tool, including adding a missing translator comment and ensuring correct output escaping.
  • ⚙️ Code Refinement: Minor refactoring in render.php's JavaScript for clarity and robustness.

How to Install:
Download the job-listings-block.zip file from the Assets section below and upload it via your WordPress admin dashboard (Plugins > Add New > Upload Plugin).

Notes:
This version changes the fundamental display logic for multi-location jobs on the frontend. Please test after upgrading.