I have a custom post type named companies. When you add a new company you need to check if it's a leader or not, so I created custom metabox with two radios, one for "yes" and another for "no".
In the front page I'm filtering leaders just fine with a custom query.
I want to filter in the companies archive too. I want to add two links, "Leaders" and "New", so when you press "new" you basically filter by date and when you click "leaders" it filters by "yes".
I know I could do this with taxonomies, tags, categories etc...But for the client it'll be simpler to just say "yes" or "no".
So my question is, how can I implement custom metabox queries when you click a link? Should I use ajax for this? Oh, and there are a lot of companies so I'll need pagination too, probably using the wp_pagenavi plugin.