Change URL, Retirement Care Home WP template

Hello Ramo!

You can use this piece of code (https://pastebin.com/Ht4EUKW4)**(add it into your functions.php from your site’s theme).

function change_taxonomies_slug( $args, $taxonomy ) {
   if ( 'accommodations' === $taxonomy ) {
      $args['rewrite']['slug'] = 'yourownslug'; // Add your own slug there
   }

   return $args;
}
add_filter( 'register_taxonomy_args', 'change_taxonomies_slug', 10, 2 );

P.S -> After adding the code on functions.php if you access the links you will get Error 404. This is because you should reset the Permalinks.

Please let me know the results :slight_smile: