Postman76 on "[Plugin: Polylang] Howto change Footer content based on...
Hi, I'm trying to get footer of my webpage to change it content based on which language is in use. I noticed topic How to translate/switch specific contents on templates but it seems that this approach...
View ArticleChouby on "[Plugin: ALO EasyMail Newsletter] Can't get current locale (trying...
The particularity of Polylang is that it offers two possibilities to set the language 1. based on the content (as Xili language). In that case it is needed to wait for the query beeing parsed to set...
View ArticleChouby on "polylang dropdown menu in header.php"
See: http://wordpress.org/support/topic/plugin-polylang-adding-language-selector-in-commercial-them
View ArticleChouby on "[Plugin: Polylang] Howto change Footer content based on language...
The way you use is correct, except that you have syntax errors: <?php $currentlang = pll_current_language(); if($currentlang=="fi"):?> footer content with lang 'fi' comes here <?php...
View ArticleChouby on "[Plugin: Polylang] All homepage highlights are shown, instead of...
Did you download the development version 2 or 3 days ago? I noticed the missing file 2 days ago. It should be ok now if you download the development version again.
View ArticlePostman76 on "[Plugin: Polylang] Howto change Footer content based on...
I also thinked that my usage is correct, yep there was couple of typos. Interesting part is that there is no errors highlighted by debug mode, but still above code print both language options to footer...
View Articleentr on "[Plugin: WordPress SEO by Yoast] Please put the...
Is it possible that get put to the good standard and loaded at 'init' or 'plugins_loaded' at least. Thanks.
View ArticlePostman76 on "[Plugin: Polylang] Howto change Footer content based on...
I just tried this approach on header and it work perfectly :) But same code in footer don't work. So I bet this is related how footer loading is handled. I hope some one could give a hint how to apply...
View ArticleChouby on "[Plugin: Polylang] Howto change Footer content based on language...
That's rather strange. How could $currentlang be equal to "fi" and "en" in the same time? Did you try to echo $currentlang ?
View ArticlePostman76 on "[Plugin: Polylang] Howto change Footer content based on...
yep, I'm also wondering this and yep I was doing echo $currentlang and it looks like that echo $currentlang cannot printout anything or the variable is empty. I was notifying that when was peaking page...
View ArticlePostman76 on "[Plugin: Polylang] Howto change Footer content based on...
Hi, Finally I solved this, Iwas having too fancy structure for footer in theme causing some hard to follow coding part, after simplifying everything inside of footer.php this code started to work.
View Articlecvons on "Multilanguage site and Postie"
Hi! I'm trying to run Postie together with a multilingual site. When I send a post by e-mail and then manually do a "run postie" from the options everything got well and my post get the preferred...
View ArticleWayne Allen on "Multilanguage site and Postie"
I think you would need to talk to the Polylang developers to know what needs to be done. If you can find out I will see how hard it would be to support.
View Articleeventualo on "[Plugin: ALO EasyMail Newsletter] Can't get current locale...
Ok, thanks Chouby for the explanation. I've updated the p4004 code and I've added a alo_easymail_multilang_get_all_languages filter. Now the subscriber language is properly stored because EasyMail uses...
View ArticleChouby on "Multilanguage site and Postie"
I am here! I don't know Postie so maybe I am wrong. It may be caused by a known issue of the current version of Polylang. The filters are added quite late in the process in a 'wp' hook and this step is...
View ArticleGonçalo Peres on "[Plugin: Polylang] WP 3.5 / PLL_MEDIA_SUPPORT: false =...
Greetings Chouby. My setup: - WP 3.5 - Polylang 0.9.8 - PLL_MEDIA_SUPPORT set to false Problem: existing images don't show anymore when i click the "Insert Media" button on a post or page. I can upload...
View Articlecvons on "Multilanguage site and Postie"
Thanks for the answers. I'm afraid that the development version of Polylang doesn't seems to help.
View ArticleChouby on "[Plugin: Polylang] WP 3.5 / PLL_MEDIA_SUPPORT: false = media...
You are right and I just reproduced the bug. I did not go deep into the details of the reason for this but noticed that it is no more in the current development version (1.0dev16) :)...
View Articlep4004 on "[Plugin: Polylang] Keeping images for translated posts"
Hello once again, When editing post, I still crucially need to see all uploaded images to wordpress site no matter what post's language is. In other words, I need to use same images for posts across...
View ArticleWayne Allen on "Multilanguage site and Postie"
@Chouby Maybe if you explain how a post needs to be modified we could come up with some sample code for the postie_post filter.
View Article