1. Knowledge Base
  2. Multiple Themes
  3. PHP Snippets
  4. Change Staff Slug

If you need to edit the slug to match the page title of your Staff page, then you will need to add this function to the functions.php file of a child theme:

add_action('init', 'kt_filter_staff_slug', 1);
function kt_filter_staff_slug() {
add_filter('kadence_staff_post_slug', 'kt_custom_staff_permalink');
	function kt_custom_staff_permalink() {
	 return 'CUSTOM_STAFF_SLUG';
	}
}

Change the “CUSTOM_STAFF_SLUG” to whatever you want to appear in the url. Once the function is added and saved, navigate to Settings> Permalinks, and re-save them.

custom-staff-slug

To learn more about and download a free child theme, visit this child theme tutorial.

Was this article helpful?