I'm trying to display numbered pagination for search results of a custom post type. Basically a search form allows users to search a custom post type by 2 different taxonomies and then the results are displayed on a page template. I want to display 10 posts per page.
I've managed to get the pagination to work, but only if I hard code the tag and I can't seem to figure out how to get it to automatically add in the links depending on how many pages of results there are.
Pastebin of page template code - http://pastebin.com/XpKKCdw9