Filter language in Polylang for custom taxonomy

Nevermind, I finally found. This is not documented, but going through Polylang code I found a way. First retrieve the languages with their taxonomy id with $lang = get_terms(‘term_language’, [‘hide_empty’ => false]) which gives an object that can be called as $lang->name and $lang->term_id. Then, the wp_query should look like this: $args = array( ‘post_type’ … Read more

Taxonomy filter under Polylang

I got it. With help from this answer: get all posts ID from a category $post_type_ids = get_posts(array( ‘numberposts’ => -1, // get all posts. ‘post_type’ => ‘texto’, ‘fields’ => ‘ids’, // Only get post IDs ));

How to translate custom Divi module using POEDIT and Polylang [closed]

It seems that you’re adding translatable strings with text domain “custom-strings” but loading a text domain “Divi” in load_child_theme_textdomain. Needs to be the same Don’t use the same text domain as your parent theme. If your parent theme is Divi, use divi-child (it should match your child theme slug). In your child theme’s style.css, define … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)