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
1answer
15 views

Static home page ignored

I am trying to show an static page instead of posts. It is defined accordingly in Settings-Reading, and it works fine. It uses a front-page template. But activating Polylang (since my web should be in ...
0
votes
0answers
27 views

Conditionally (cpt) filter previous and next_post_link

I'm using the next_post_link and previous_post_link functions in two different scenarios, first in my single-cpt.php and second in my single posts. The name of my cpt is "members". Note, that I'm ...
0
votes
2answers
25 views

polylang translation of a custom post created by wp_insert_post()

I am in trouble. I have a travel site...I have created a page where users can write a form to insert their houses. The houses are of course a custom post type. This is a piece of my code: ... some ...
0
votes
0answers
50 views

wp_insert_post fatal memory error

I am trying to insert a single post via an ajax function with wp_insert_post and I get the following error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 ...
0
votes
1answer
16 views

wp_nav_menu custom Page class

I am building a multilingual site with Polylang, and need to add custom class to my menus that groups together Pages about the same content. For example, I have a Page "Happy" and it has a translated ...
-2
votes
1answer
21 views

Keeping shortcode-generated widget and theme element in one line [closed]

I set up a playground site PlaygroundSite and I am trying to put Polylang language changer widget in the same line as linked-in icon. Because ascent theme does not contain a widget/sidebar area ...
0
votes
1answer
121 views

Get posts by language in Polylang plugin

I use the Polylang plugin to translate my website in Italian and German. How can I get the latest post in Italian? I'm using the arguments below to get the content of the post, which afterwards I ...
0
votes
1answer
124 views

Polylang get non-current language/s

I am using Poly language plugin to build my own custom multi language website Previously i was using Q_translate it's working fine with me, but i need to use poly language now, so excuse me if there ...
-1
votes
1answer
173 views

Language switcher with flags - Polylang WP plugin

I have installed Polylang WP plugin for one site.. and need to add flags but its look like there is no option or any tutorial how to do this.. If anybody have some solution for this will be great..
0
votes
0answers
12 views

Different images in media while selecting different laguages

I have simple WordPress 4.3.2 site with Polylang plugin and Twenty Twelve theme. I found strange relation between images in Media and selected language. When I swich between languages while staying in ...
0
votes
1answer
23 views

Polylang and United Arab Emirates languange

I use Polylang Wordpress plugin and need to add United Arab Emirates language to site.. in drop down there is no options to chose corresponding language ( United Arab Emirates ) to Arabic.. but here ...
1
vote
1answer
192 views

How to show all available images in WP's media library when using the Polylang plugin?

It seems that depending on which default language I've set Polylang to, all my uplaoded images are isolated so that I can only pick them when I'm editing posts in the default language. I have a lot ...
1
vote
0answers
70 views

polylang + category/tag custom language link

under wordpress user can define url part for categories/tags, e.g., page.com/category/some-cat where category is user defined string part. Is there a way to define "category" (same goes for tags) for ...
0
votes
0answers
13 views

Different number of posts on different browsers and different language

I have ordinary WP_Query with featured posts and plugin Polylang, the problem is that different number of posts that is defined is showed in different language and I've noticed in different browsers ...
0
votes
0answers
23 views

Portfolio does not appear in Mutilingual site - PolyLang

My theme has an inbuilt portfolio, as it's a portfolio specific site. I'm localizing the site, and have been using the Polylang plugin for subdirectory creation. I have added the shortcode (that the ...
0
votes
1answer
67 views

How to Customize Polylang Language Items

I am using Polylang plugin with WordPress 4.3.1, Can you please let me know if there is a way to display language items in short abbriviation like En for English or CH for Chinese I am using this ...
0
votes
1answer
108 views

Multisite custom rewrite urls

On a multisite installation, which is running the Polylang plugin, I want to add a custom rewrite rule. Currently, my permalink structure is: http://host.com/sitename/language/pagename Now I want ...
0
votes
1answer
118 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
72 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
162 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
92 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
80 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
1answer
1k 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
906 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
221 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
2k 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
1k 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
610 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
824 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
3k 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
5k 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 ...