New Front EN › Support Forums › Ikebana Theme Support › Multiple Pages with different Portfolio page › Reply To: Multiple Pages with different Portfolio page
Hi Andrii,
I love the design of this template!
I have a few questions on it. Please forgive me as I am completely new to this and the questions may be very basic!
I have followed the above guidance on creating tag archives. My ‘team’ page now shows only the portfolio projects that have a tag of team. But my home page is showing all portfolio projects.
There is a reply on May 26, 2014 at 12:35 pm you gave in a previous post on this question on ‘slugs.’
My questions:
1) What is a slug?
2) In order for the homepage to exclude the portfolio projects with a tag of ‘team,’ do I need to replace the code on page_portfolio.php file with the below code you noted in your reply on May 26 or just change the slugs?
$wp_query = new WP_Query( array( ‘posts_per_page’ => $ppp , ‘post_type’ => ‘project’ , ‘paged’ => $paged , ‘post__not_in’ => $exclude_ids, ‘order’ => $order, ‘orderby’ => $orderby, ‘tax_query’ => array(
array(
‘taxonomy’ => ‘tagportfolio’,
‘field’ => ‘slug’,
‘terms’ => array( 1, 2, 3 ),
‘operator’ => ‘NOT IN’
)
) ) );
3) How do I change the permalink of Team page from ‘www.websitename.com/tag-portfolio/team’ to ‘www.websitename.com/team’?
Thanks for all your help!
Selena