Timber: Theme class not fetching the right directory?

@bocaj you’re doing everything right. Unfortunately, we made a tweak to the starter theme which caused some unanticipated errors like the one you’re seeing. If you can simply move the contents of the /theme-name/theme/ folder into /theme-name/ (including style.css, functions.php and others) the problem will resolve itself and links/paths will behave as expected. We tried … Read more

Rewrite/Change custom taxonomy slug

Try using the below code to overwrite arguments of already registered taxonomies. function wp_modify_taxonomy() { // get the arguments of the already-registered taxonomy $custom_category_args = get_taxonomy( ‘genre’ ); // make changes to the args $custom_category_args->rewrite[‘slug’] = ‘chambers’; $custom_category_args->rewrite[‘with_front’] = false; // re-register the taxonomy register_taxonomy( ‘genre’, ‘chambers’, (array) $custom_category_args ); } add_action( ‘init’, ‘wp_modify_taxonomy’, 11 … Read more