I've just launched a site that has a RESOURCES section in it, listing of school, documents etc. now the client asks to add an 'Alphabetical Sorter' that will enable the users to see in each specific category the post/resources according to their first letter.
This wouldn't be to hard (theoretically), the problems are that those are custom-post-types with nested categories and I already manipulate the request (on the
request filter) to get what I want and not a 404.
The structure is
domain.com/resources/parent-category/child-category/post-name and I'd like to have pretty permalink look so
domain.com/resources/parent-category/child-category/A-Z and not using a
This should also work (show the correct posts in a-z order) when the user deletes part of the url, i.e.
What would be the best approach for that, considering we can't go back and add 'category per letter', taxonomy, custom field etc.? Is there a way to maybe hook into the raw SQL and edit it like here http://wordpress.org/support/topic/first-letter-posts?