Please note: Support questions for this plugin are off topic. You should follow the plugin's support route for assistance.

learn more… | top users | synonyms

0
votes
0answers
24 views

Polylang - 'PLL_Links_' not found after migration

I am migrating a project from development server to production server. I use the plugin polylang. I changed all URLs and paths in database, updated wp-config. Web ends with error: Fatal error: ...
0
votes
1answer
27 views

why custom post archive gives always no more than 10 posts despite of paging settings?

I've got a strange problem. I'm programming a custom post archive page. I'm using wp conventions, so I've got a 'project' custom post type and an archive-project.php page, which is correctly showing ...
0
votes
0answers
18 views

I can not save in polylang categories for other than EN language (for example Deutsch)

I tried many times to save in Polylang categories translations. each time I created a category for EN it was working properly. but as soon as I tried to transpale it to another language (like Slovak ...
0
votes
0answers
83 views

Polylang string translation

I have a problem with the string translation, using a custom theme. In functions.php I added this: $products='מוצרים'; pll_register_string('מוצרים', $products,'controtec'); When I put ...
0
votes
0answers
27 views

Show all languages not working

I have site that supports 3 languages - ENG,RU,EST. When I select 'Show all languages' in wp-admin it switches to RU one and in page management shows only RU language pages. Where might be problem?
0
votes
1answer
32 views

Reduced Menu in Mobile with Twenty Twelve and Polylang

Situation: Theme: Twenty Twelve Plugin: Plolylang, German & English URL: http://astronomisches-konzert.de Menu is nested Requirement: Mobile Menu not nested Solution: For Mobile set ...
0
votes
0answers
63 views

Retrieve custom posts of all selected languages

My website has 5 different languages and a page that has to contain all custom posts of type 'resource' in all the different languages. I'm using WP_Query like this: $type = 'resource'; $args = ...
0
votes
0answers
92 views

How to know if theme support polylang plugin?

I have a task to create a multilingual WP website. I choose to use polylang plugin. Now I have to choose some premium theme, but I don't know if the theme supports polylang plugin. How to find out ...
0
votes
1answer
636 views

WP_Query and polylang issue

In the theme I develop, I have a template showing 5 posts using the standard loop: <?php $my_query = new WP_Query('showposts=5'); while ($my_query->have_posts()) ...
1
vote
1answer
383 views

WP_Query post_parent parameter always returns children of current page

Well the title gives it all away... Here's the code: $args = array( "post_type" => "page", "post_parent" => $cat, // runs through a loop of 5, 128, 130 "posts_per_page" => -1 ); ...
0
votes
1answer
131 views

get_comments not working consistantly with post_id

I am trying to get comments from another post. I am getting the post_id and doing a check to see if it has comments I can get the comments for the current post every time but for the other post I am ...
2
votes
1answer
1k views

get_locale() behaving strange in same functions.php file

I'm developing a multi-language web portal for my client - in English and Bengali. Instead of using multisite, I installed Polylang plugin. It's working fine through the website. For different CSS ...
0
votes
1answer
907 views

How to copy [gallery] shortcode between posts using polylang [closed]

We're using the excellent polylang to translate our website content and themes , there are a range of options about which fields and settings are duplicated between paired pages. We've selected to ...
0
votes
1answer
450 views

Taxonomy filter under Polylang

The filter code below is from Themeskingdom Exclusy theme. It makes a sql query for posts ids and then queries the taxonomy terms associated with those posts. I then uses isotope jquery plugin to ...
2
votes
0answers
589 views

custom theme: english .mo file not working

I'm having an issue with a .mo file. I have a fully functioning localized custom theme that's running in four languages for the moment: Dutch, English, French and Spanish. There is one problem: the ...
1
vote
1answer
2k views

Polylang: pll_e() & pll__() on functions.php, doesn't work

I've on functions.php some functions that echoes blocks of HTML. Problem comes with Polylang plugin, that uses custom functions pll_e() and pll__(). Those works right on index.php on every theme, but ...
1
vote
1answer
4k views

detect the language a post is written in

Is there any way to evaluate the language a post/page is written in? I am building a multilingual site and am almost pulling my hair out trying to get the front-end navigation to take the chosen ...