Change CPTs slugs – Sydney

With this snippet you can change the slugs (that are shown in the URL bar) for the Services, Employees, Testimonials, Projects and Clients custom post types that are registered in Sydney Toolbox.

function sydney_change_clients_slug() {
    return 'yournewslug';
add_filter('sydney_clients_rewrite_slug', 'sydney_change_clients_slug');


  1. Replace yournewslug with the slug you want.
  2. If you want to do this for one of the other post types, replace clients with services, employees, testimonials, projects or clients.
  3. Make sure you copy (and adapt) the function and filter for each slug you want to change.
  4. After you’re done, from your admin area go to Settings > Permalinks and click on Save.
INFO: This is a PHP snippet. If you don’t have a child theme or don’t know how to use one, we recommend that you use this plugin.