Tag Info

New answers tagged

2

Own theme If you are using your own theme, no need to worry about, because /languages folder is in your control that way. :) Other's theme But your concern is about other's theme and you want to apply your translations into that theme, then the best way is to make a Child Theme. Because you are actually modifying that theme. Make your languages files and ...


0

You could try this in your functions.php <?php add_filter('rewrite_slugs', function($translated_slugs) { // the possible translations for your slug 'product' $translated_slugs = array( 'product' => array( 'pt' => array( 'has_archive' => true,'rewrite' => array('slug' => 'produto'), ), ...



Top 50 recent answers are included