filip.jnc on "[Plugin: Polylang] Poylang: language independent categories...
I want to achieve a similar thing to that. For me it's not only posts/categories but also custom posts/categories and events manager events/event categories. And more specifically, I want to be able to...
View Articlebrocheafoin on "[Plugin: Polylang] Language Order"
In the language list on the right, when you hover over a language, you will see an "Edit" link. Click this and you'll be able to change the order and save your changes, without adding a language.
View Articlefilip.jnc on "[Plugin: Polylang] Untranslated taxonomies/custom taxonomies"
PS. The code for my custom language switcher at the bottom of the page: <?php if( class_exists('Polylang') && function_exists('pll_the_languages') ) { $pll_args =...
View Articlefilip.jnc on "[Plugin: Polylang] Untranslated taxonomies/custom taxonomies"
I've just noticed that if I add ?lang=ru at the end of the URL of each post or custom-post, the post is still displayed in the Romanian (default) and the rest is in Russian (even though the post in not...
View ArticleChouby on "[Plugin: Polylang] Different default language for admin"
So you will have to make a custom plugin with something like: add_filter('pll_admin_preferred_language', 'my_preferred_language'); function my_preferred_language($lang) { global $polylang; return...
View ArticleChouby on "[Plugin: Polylang] Loosing cookies switching from a domain to...
If i de-active Polylang the english domain has no reason to exist, since it is set in the settings of Polylang. Polylang does not create the domain. It should be assigned to your WordPress directory on...
View Articlefilip.jnc on "Polylang and Events Manager"
I mark this as resolved because it might be helpful for pro users.
View Articlepierrestoffe on "[Plugin: Polylang] Different default language for admin"
Thanks a lot! Exactly what I needed. Have a nice w-e, Pierre
View Articlemariajcrgomes on "[Plugin: Polylang] Translate homepage Arcade theme URGENT"
Hi, Can anyone help me? I'm using the theme Arcade from bavotasan.com, and I didn't had any problem translating everything with Polylang plugin in this theme, except for the homepage. How do I...
View Articlemariajcrgomes on "[Theme: Arcade Basic] Translate homepage Arcade theme"
Hi, Can anyone help me? I'm using the theme Arcade from bavotasan.com, and I didn't had any problem translating everything with Polylang plugin in this theme, except for the homepage. How do I...
View Articlemirilailai on "Polylang shortcode (like qTranslate) for theme options and text"
Hi, Nice solution ronshe but I'm new in this multilingual functions so could you please explain where to add this shortcode script you wrote so I can use the shortcodes later? Thank you.
View Articleronshe on "Polylang shortcode (like qTranslate) for theme options and text"
Hi mirilailai, Look at Chouby's answers. The need in the shortcode is not recommended and very rarely needed. Be sure that you MUST use it. Ronny
View Articlemirilailai on "Polylang shortcode (like qTranslate) for theme options and text"
Yeah I did but it looks very complicated. I have no idea how to pull these strings. I'm trying to translate a theme custom field which is in the Theme Options.
View Articlefilip.jnc on "[Plugin: Polylang] Untranslated taxonomies/custom taxonomies"
I changed some bits of code in this plugin to redirect me to ?lang=ru of the same article if no translation is found and query the default article. It's not a permanent fix, but I hope Polylang gets...
View Articlemirilailai on "Polylang shortcode (like qTranslate) for theme options and text"
If my theme is called "spa" and the theme field is called Intro Content, how should I register the string?
View Articleronshe on "Polylang shortcode (like qTranslate) for theme options and text"
Can the fields accept shortcodes?
View Articleronshe on "Polylang shortcode (like qTranslate) for theme options and text"
So put my code in functions.php Use the shortcode like this: [polylang lang="en"]English[/polylang][polylang lang="sp"]Spanish[/polylang]
View Articlemirilailai on "Polylang shortcode (like qTranslate) for theme options and text"
I add `function polylang_shortcode($atts, $content = null) { if (empty($content)) return ''; extract( shortcode_atts( array('lang' => ''), $atts ) ); if (empty($lang)) return "<h3>You must...
View Articleronshe on "Polylang shortcode (like qTranslate) for theme options and text"
You have the function twice. That's why it tells you Cannot redeclare
View Article