Description
Rename Sticky Post Field to Featured in Block Settings Sidebar
Is your feature request related to a problem? Please describe.
Currently, the WordPress editor uses the term "Sticky Post" to designate posts that should be highlighted. For the Tour Operator Plugin, we would like to utilize this functionality to feature specific content such as Tours, Accommodation, and Destinations. However, using the term "Sticky Post" can be confusing to our users, as it doesn't clearly convey the intent to mark content as featured.
Describe the solution you'd like
We propose renaming the "Sticky Post" field to "Featured" within the block settings sidebar of the WordPress editor for all relevant post types in the Tour Operator Plugin. This solution aims to make it more intuitive for users to mark content as featured using the existing sticky post functionality, ensuring consistency across the editor interface.
Describe alternatives you've considered
An alternative approach would be to create a completely new custom meta field labeled "Featured." However, reusing the native sticky post functionality by simply renaming it provides a more streamlined solution that aligns with WordPress standards, minimizing custom code while delivering the desired feature.
Additional context
Renaming the sticky post field to "Featured" will make it clearer to users that this setting is meant to highlight key content across the Tour Operator Plugin's post types. The renamed field will still leverage the underlying sticky post functionality but will be presented in a way that is more user-friendly and aligned with the plugin's focus on featuring important content.
Acceptance Criteria:
- The "Sticky Post" field is renamed to "Featured" in the block settings sidebar for all relevant post types (e.g., Tours, Accommodation, Destinations).
- Posts marked as "Featured" use the sticky post functionality and are treated as featured in query loops.
- The renaming of the field persists when editing a post and is reflected in the block settings sidebar.
Tasks:
- Rename the "Sticky Post" toggle to "Featured" in the block settings sidebar.
- Ensure that the sticky post state, now labeled as "Featured," is used as a featured post indicator in query loops.
- Test the feature across all Tour Operator Plugin post types to verify compatibility and correct behavior.
Metadata
Assignees
Type
Projects
Status
✅ Done