Support

Home Forums Event Espresso Premium How to change category base slug? Reply To: How to change category base slug?

Reply To: How to change category base slug?

Author Replies
yaegerhunter # Posted on May 8, 2018 at 10:36 am

I placed it, updated permalinks, cleared cache and still doesn’t pick up this new base slug… Here is my version… does it have to go in a specific spot in the functions.php file?

add_filter(
‘FHEE__EventEspresso_core_domain_entities_custom_post_types_TaxonomyDefinitions__getTaxonomies’,
‘ee4-signups’,
10
);
function my_custom_event_category_basename( array $taxonomies ) {
$taxonomies[‘espresso_event_categories’][‘args’][‘rewrite’][‘slug’] = ‘ee4-group’;
return $taxonomies;
}

I’ll do a plugin or child theme approach, just trying to get this working now. Thank you!

Do NOT follow this link or you will be banned from the site!