Chouby on "[Plugin: Polylang] Using pll_the_languages(); in Twenty Eleven...
Does your header.php in your child theme contain only this line? You must copy paste all the content of the original header.php in the file of your child theme and just add: <ul><?php...
View ArticleTMNR on "[Plugin: Polylang] Using pll_the_languages(); in Twenty Eleven child...
It worked! I guess my main error was that i thought it would suffice to add only the line that i wanted. All i had to do is copy the whole content in to my child header.php. That's me, always not...
View Articlewocai on "[Plugin: Polylang] Home page shows posts in both languages / IIS"
Using if (is_home() && false === strpos($_SERVER['SCRIPT_NAME'], 'Index.php')) { fixed the default home page, but broke things on the /en home page - widgets were showing content from both...
View ArticleChouby on "[Plugin: Polylang] Home page shows posts in both languages / IIS"
Could you try with: if (is_home() && false === stripos($_SERVER['SCRIPT_NAME'], 'index.php')) { with 'stripos' instead of 'strpos' ?
View ArticleNiall Kennedy on "Need to set facebook locale in multilingual site."
tsachev: will this pull request provide the functionality you would like to reference in your code? https://github.com/facebook/wordpress/pull/361
View Articlewocai on "[Plugin: Polylang] Home page shows posts in both languages / IIS"
Yes, that helped, almost everything is behaving consistently now, the only minor issue remaining from earlier is that the header in the English version links to the default language / instead of /en ,...
View ArticleChouby on "[Plugin: Polylang] Home page shows posts in both languages / IIS"
In your theme, the link to the home by calling home_url( '/' ). Normally, Polylang filters this call and replace the home url by the home url in the correct language. In your case, for a reason I...
View Articletsachev on "Need to set facebook locale in multilingual site."
Yeah, looks exactly what I need.
View Articlewocai on "[Plugin: Polylang] Home page shows posts in both languages / IIS"
stripos on line 842 did not help, but like I said, it is a very minor issue or no issue at all - I think it's OK that the header links to the default home page, not the language-specific one. So it is...
View Articlelvsn on "[Plugin: Polylang] Home page shows posts in both languages / IIS"
Hi! I still have the same problem with my home page. Tried to follow your solutions, but that did not help.
View Articlezeshark on "[Plugin: Polylang] Language-specific RSS feeds"
Hi ! I am evaluating Polylang in a sandbox instance and it seems to do everything I need except a couple of things. One of them is to generate language specific RSS feeds for posts i.e. - one feed for...
View ArticleChouby on "[Plugin: Polylang] Language-specific RSS feeds"
I expect the same result as you. If not, this is either a conflict with your theme or a plugin, or a bug. Could you test with a default theme and Polylang as the only activated plugin? Could you report...
View ArticleChouby on "[Plugin: Polylang] Home page shows posts in both languages / IIS"
@lvsn, could you come back on your thread in which you exposed 2 problems. I proposed a solution for one of them but got no feedback since.
View Articlezeshark on "[Plugin: Polylang] Language-specific RSS feeds"
Hi, Thanks for the prompt reply. I tried with all plugins deactivated and the twenty-ten theme, but I don't see a change in the RSS content. I actually do not understand how it could work. If the...
View Articlezeshark on "[Plugin: Polylang] Conditional language switcher display"
I am trying to get the language switcher to be displayed in my template only if a translation exist. The default behaviour where the home page Reading through the support articles, I found references...
View Articlelotus1234 on "[Plugin: Polylang] Read this before opening a new thread!"
Hello, I have a little problem and I'd like to get your help please. I am working on responsive wp theme -Escalation. Installed polylang and "Portfolio" as well as "future image" are not displayed. If...
View ArticleChouby on "[Plugin: Polylang] Language-specific RSS feeds"
In fact, your English feed will be http://www.asphalte.ch/news-english/?feed=rss2&lang=en and your French feed will be http://www.asphalte.ch/news-english/?feed=rss2&lang=fr. When you don't...
View Articlezeshark on "[Plugin: Polylang] Language-specific RSS feeds"
Perfectly clear now, thanks a lot for your patience ! Getting readier to go live with Polylang !
View ArticleChouby on "[Plugin: Polylang] Conditional language switcher display"
No need for a lot of PHP code as Polylang already includes this. You can use for example: <ul><?php pll_the_languages(array('hide_if_no_translation' => 1)); ?></ul>
View Articlephigrain on "[Plugin: Polylang] Trying to implement in PageLines"
Hi I'm trying to implement polylang flags in PageLines template. I'd like it to be somewhere at the top of the page ; however, the standard interface doesn't offer widget in header, and it is proposed...
View Article