Home Forums Basel support forum Blog and Portfolio Permalink Structure Reply To: Blog and Portfolio Permalink Structure

#330867

ryadigital
Participant

Do I have to adjust the second line that handles the taxonomy category as well ($portfolio_cat_slug)?

/**
* Create a taxonomy category for portfolio
*
* @uses Inserts new taxonomy object into the list
* @uses Adds query vars
*
* @param string Name of taxonomy object
* @param array|string Name of the object type for the taxonomy object.
* @param array|string Taxonomy arguments
* @return null|WP_Error WP_Error if errors, otherwise null.
*/

Line 524
rewrite’ => array(‘slug’ => $portfolio_cat_slug, ‘with_front’ => false ),