wp-polylang-translate-rewrite-slugs icon indicating copy to clipboard operation
wp-polylang-translate-rewrite-slugs copied to clipboard

Wordpress plugin to help translate post types rewrite slugs with the Polylang plugin.

Results 23 wp-polylang-translate-rewrite-slugs issues
Sort by recently updated
recently updated
newest added

it would be awesome if tags and categories would be supported as well!

Hi, Nice tool, it works, thank you! I found a php warning in a var inside function: Warning var: $polylang->model->get_post_language(), **line 181 from polylang-translate-rewrite-slugs.php** deprecated in Polylang v1.8. If we...

I tried to edit the category base slug field using the following code: ``` add_filter( 'pll_translated_taxonomy_rewrite_slugs', function( $taxonomy_translated_slugs ) { $taxonomy_translated_slugs = array( // tax_name 'category' => array( 'it' =>...

HI, I have changed the base for product slug in "Veicoli" (my predefined language is italian). But using your example function the slug "veicolo" is not translated. ``` add_filter('pll_translated_post_type_rewrite_slugs', function($post_type_translated_slugs)...

Hello, Thanks for your great work. I think I discovered a bug with your plugin. I have a custom post type with three taxonomies. For two of these taxonomies the...

I added the filter in function.php, the slug is well translated but the page of translated slug is empty, can you help me?

line 181 `$post_language = $polylang->model->get_post_language($post->ID);` should now be: `$post_language = $polylang->model->post->get_language($post->ID);` line 282 `$term_language = $polylang->model->get_term_language($term->term_id);` Should now be: `$term_language = $polylang->model->term->get_language($term->term_id);`

at line 181 change from $polylang->model->get_post_language() to PLL()->model->post->get_language() due to Polylang 1.8 update

My Case: - WordPress 4.1.1 - PolyLang 1.7.3 - wp-polylang-translate-rewrite-slugs 0.3.4 Your plugin has translated all my custom post type slug, but it produce 404 error page for non-default language....