Polylang is one of the most well known multilingual plugins for Wordpress
Questions tagged [polylang]
217 questions
0
votes
2 answers
WordPress - Forcing SSL with .htaccess leads to redirect loop when using Polylang
I have this issue with WordPress site that uses Polylang Plugin. I have redirected all traffic to https version with .htaccess like this:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}…

Demeter
- 106
- 1
- 8
0
votes
1 answer
Styling language switcher - flags (polylang + wordpress)
I have problem with styling the language switcher on site. I've changed the flags and now I would like to have different icons on current lang.
I make this for current:
li.lang-item.lang-item-2.lang-item-se.lang-item-first.current-lang a {
…

Pat
- 697
- 3
- 11
- 30
0
votes
1 answer
Wordpress API language selection bypass
How to bypass the wordpress API luck of language selection.
WPML is payable and only for that I found an API update.

vassilis ntovantzis
- 342
- 3
- 14
0
votes
1 answer
wordpress front page section with polylang
today I have a problem with front page section in wordpress.
I use polylang and when I change language on the page, my page uses bad language (the default language).
For example:
My default language is polish language, for polish user, I show…

kamil220
- 9
- 4
0
votes
1 answer
PolyLang translate
I have a problem with translation.
I have website in two languages - SK (main) and US
1) Issue
In posts - US language have no idea how can I translate buttons like "Read More" etc. - https://www.laraservis.sk/en/news/
And maybe same issue - but in…

Viktor Holas
- 21
- 7
0
votes
0 answers
Woocommerce / Polylang Causes Add to Basket button to be disabled
i've been experiencing this error so far:
the Add to Basket button is disabled for variable products on the English version of my wordpress website, when instead everything works on the Italian version. Altho a couple of errors from the debug I…

caprica
- 1
- 2
0
votes
0 answers
Wordpress multisite and multiligual
I currently have a Wordpress site that runs on the following url:
blog.mycompany.com
this site has 3 languages nl, fr & en => polylang plugin is used for this
which will correspond the following…

Joren Van Hocht
- 845
- 1
- 9
- 21
0
votes
1 answer
Posts in Categories not be display in a second language
I'm using Polylang Plugin for translate my website. In second lang posts in none of the categories not be show! In option reading - max post number value is 10. While in a category I have less than 10 posts it work but for 11 posts or more posts not…

Soma Moradi
- 125
- 1
- 1
- 9
0
votes
1 answer
Polylang home url modification
I’m developing a website where the home page is made from a custom template that I created. Once there, you can enter to the site and view the lastest posts.
The thing is that when I’m viewing the lastest posts and I want to change the site…

Matias Nunes
- 1
- 1
0
votes
2 answers
Site links broken after Permalink change (404)
I just changed my permalink structure from
https://www.maleq.org/en/first-coming-british-royal-family/
to
https://www.maleq.org/first-coming-british-royal-family/
Removing the /en/ sub in the url. Now though all of my l=previous posted links on…
0
votes
2 answers
Wordpress: get_terms() not returning anything even if terms have objects
Normal behaviour of get_terms is not to return terms if there are no posts assigned to. But this is not the case, I can see terms assigned in admin and also checked the database and all seems fine. Also check this code:
$p = get_post(5018); //…

Luca Reghellin
- 7,426
- 12
- 73
- 118
-1
votes
1 answer
Revolution Slider with Polylang + Search bar function
I have this code:
-1
votes
1 answer
How to switch specific language in PolyLang plugin?
Is there any way to switch language in PolyLang plugin like the WPML? For example:
global $sitepress;
$sitepress->switch_lang($lang);

Iftekharul Vasion
- 11
- 1
-1
votes
1 answer
Webpage dropdown menu on IE and Edge
This is a very basic dropdown and IE question
I have a dropdown menu on webpage. Main menu is built with WP shapely theme and Polylang plugin (translation). Chrome and other browsers except IE and Edge are displaying dropdown on hover and also on…

Marin
- 3
- 5
-1
votes
1 answer
How to change the language of the custom post?
I am using polylang plugin for multiple language in my project. I created a custom Event using following code.
function post_types()
{
$labels = array(
"name" => "Events",
"add_new_items" => "Add New Event",
…

nas
- 2,289
- 5
- 32
- 67