Metadata
- Source
- FLOE-558
- Type
- Improvement
- Priority
- Major
- Status
- Open
- Resolution
- N/A
- Assignee
- N/A
- Reporter
- Jonathan Hung
- Created
2018-07-10T08:56:48.657-0400 - Updated
2018-07-12T15:52:48.848-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Accessible Wordpress Theme
Description
Currently in the theme, in order to create a landing page for a category, the content author needs to add a custom field "is_landing_page" with the value "true" to a Post and assign it to the category in question.
The sidebar.php would generate the navigation by finding the landing page for the category and then display all the other pages for the category.
This solution mostly works but has a number of issues:
- It's not easy to find which Post is a landing page.
- It's not easy to find a category's landing page.
- It's possible to assign more than 1 landing page for a category - which is problematic.
There should be a better way to create landing pages for categories. Perhaps a custom post type of some sort?