I am basically looking to create a sitemap type page with this type of format:
Category
- Subcategory
- Page Title
- Page Title
- Page Title
- Subcategory
- Page Title
- Page Title
- Page Title
Category
- Subcategory
- Page Title
- Page Title
- Page Title
- Subcategory
- Page Title
- Page Title
- Page Title
etc.
Here's the issue: The categories and subcategories are actually custom fields I created. When a new category is added or a new page within a category is added, I would like it to automatically show up on this sitemap page.
I would also like everything sorted in alphabetical order, first by category, then by sub, then by page title.
How do I go about doing this?