Hi,
Can you please guide us to get Conditional Tags for portfolio post type just like below code that we have done for Blogs and it’s post. We are looking for Conditional Tags for Portfolio Category and Portfolio Tag.
add_filter( 'ups_sidebar', 'assign_sidebars' );
function assign_sidebars($sidebar){
if(is_category() || is_tag()){
return 'ups-sidebar-blog-sidebar';
}
return $sidebar;
}
Hoping for the solution.
Thank You,
Bibhash Karn