taxonomy . '.php'; } else { $file = 'archive-mpl-portfolio.php'; } $find[] = 'taxonomy-' . $term->taxonomy . '-' . $term->slug . '.php'; $find[] = MPL_PRO_PATH.'/includes/theme-templates/' . 'taxonomy-' . $term->taxonomy . '-' . $term->slug . '.php'; $find[] = 'taxonomy-' . $term->taxonomy . '.php'; $find[] = MPL_PRO_PATH.'/includes/theme-templates/' . 'taxonomy-' . $term->taxonomy . '.php'; $find[] = $file; $find[] = MPL_PRO_PATH.'/includes/theme-templates/' . $file; } if ( $file ) { $template = locate_template( array_unique( $find ) ); if ( ! $template ) { $template = MPL_PRO_PATH.'/includes/theme-templates/' . $file; } } return $template; } } MPL_Template_Loader::init();