Home › Forums › Theme support › Eastend: Link to one project type? › Reply To: Eastend: Link to one project type?
Should the other tabs remain visible? You can try this: please go to line 46 in portfolio-sortable.php and change it to this code:
query_posts(array( ‘post_type’ => ‘portfolio’, ‘paged’ => get_query_var(‘paged’), ‘posts_per_page’=>$post_per_page, ‘project-type’=>$_GET[‘ptype’] ));
Now you can add the category to the URL, for example:
http://www.mywebsite.com/?paged_id=221&ptype=photography
In WordPress admin -> Appearance -> Menus you can add custom links to your menu, just add the links to the page with the sortable portfolio template and add to each of the link the extra code, .i.e. &ptype=photography or &ptype=webdesign