I’ve got to the point where I needed to break down my HTML Sitemap into several pages. It contained 2000+ links.
The big layout was showing all post titles under category names on one page. I decided to break it down (paginate it) by alphabetical order using WP_Query, so each page would contain about 60 post titles (links). Also on every page beside the post titles, respective category links were shown and plus one other custom taxonomy.
I did it, and thought it will be OK, Google wise and Users wise. However soon after, I was bombarded with emails. Users were not liking the new paginated/alphabetical look of the HTML Sitemap. They wanted quick access to all posts from one page (or less number of pages as possible). I reverted back.
I can’t keep that big page, but in the same time I have to go with the Users.
So, is there a way where I can split the HTML Sitemap into pages, and each page to contain posts titles (links) from several categories?
I can do this by creating several templates and hard-code the pagination on every template (link them), but that is the hard way.
I’ve looked into multiple loops, nested loops, custom queries, WP_Query, experimenting a lot but it seems I can’t achieve what I want, in an elegant and clean way.
Haven’t tested this, but here you go, lemmie know how it works. You’ll needa do your own pagination links, but that should be pretty straightforward