I'm currently developping my own theme. I have this custom portfolio page that display blog posts "specially". I want to add a search box and category filtering on that page. I'm not really sure how I should go about this.
I have this portfolio.php page that is a also a template. And so I created a page in the wp_admin, using that template. The permalink now is mysite.com/portfolio/.
Adding search parameters will send my site to index.php rather than to portfolio.php so I currently have trouble getting my "s" parameters from the query string.
I'm an experienced developer, just quite new with wordpress and trying to do it the right way (I could simply create my own SQL queries and bypass the whole thing and code it myself, but then what would be the point of using wordpress hehe).
Thanks for any help!