Automattic / Automattic/WP-Job-Manager
Support variables or tags in permalinks config
- Dominant language
- PHP
- Stars
- 899
- Forks
- 369
- Avg merge
- 11h 37m
- Merged PRs (30d)
- 12
Description
### Is your feature request related to a problem? Please describe
Previously, we could use filters from https://wpjobmanager.com/document/tutorial-changing-the-job-slugpermalink/ to customize the jobs permalink.
However, since 1.27, this is no longer supported as the permalink configuration has been moved to the Permalinks config page.
Currently, the config options in the permalinks page can only support static bases.
### Describe the solution you'd like
Provide support for tags like `%post_id%` to append the job ID to the URL.
### Additional context
3501430-zen
Contributor guide
Research direction
Start at the Permalinks config page and trace how its current static bases are stored and applied to job URLs. Check how the previous filters supported customization, then determine how a tag such as %post_id% should be accepted and expanded while preserving existing static bases. Done means configured tags produce the expected job permalinks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100