dr01
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] [Polylang] Homepage replaced by blog in v1.7.8We installed the WP Edit plugin, however for the purpose of testing I disabled all plugins and the problem still appears.
You can get an idea by visiting our prod site, which is not affected by the problem as it uses a previous version of Polylang. Here you can click on the English/Fran?ais menu option on the header to switch between the English and the French version of each page. With the latest version of Polylang, the homepage main content stays in English even when the French localized version is selected; that’s the only page affected by the issue.
Forum: Plugins
In reply to: [Polylang] [Polylang] Homepage replaced by blog in v1.7.8No, functions.php is empty. The only modifications are in style.css. This is why I am puzzled that the behavior is different.
Forum: Plugins
In reply to: [Polylang] [Polylang] Homepage replaced by blog in v1.7.8I’ve explored the different settings for the child theme but didn’t find yet what could be causing this bug. Any idea?
Have you experienced this glitch before?
Forum: Plugins
In reply to: [Polylang] [Polylang] Homepage replaced by blog in v1.7.8Yes. Deactivating all other plugins does not make any difference.
However, I’ve just noticed that setting a different theme (Twenty Fifteen or Enfold, which is the theme on which our custom theme is based) makes the problem disappear. Apparently the problem lies in our custom theme.
Thanks for your very quick answers and for allowing us to pinpoint that.
Forum: Plugins
In reply to: [Polylang] [Polylang] Homepage replaced by blog in v1.7.8Here’s the screenshot: https://s14.postimg.org/6ind2otup/Selection_053.png
Yes, I have only French menu components in the French menu (apart from the Blog and the Language Switcher, but I’ve removed both links just for testing and it didn’t made any difference).
Forum: Plugins
In reply to: [Polylang] [Polylang] Homepage replaced by blog in v1.7.8Hi,
Thank you very much. By the way, I updated to the latest version of the plugin, 1.7.9.
You were right, in Settings -> Reading the Front Page Displays was set as “latest posts” instead of “static page”. I selected “static page” there, and also ticked the option “The front page url contains the language code instead of the page name or page id” in Polylang -> Settings.
This solved the problem and now the home page is showing instead of the blog.However, this introduced a new bug: the home page does not get translated. Our site is in English and French. The URL for the French home page is correctly https://oursite.com/fr and the headers and footers are translated into French, but the main page content is still in English. This problem concerns only the home page; all other pages are translated correctly.
Forum: Plugins
In reply to: [Polylang] [Polylang] Homepage replaced by blog in v1.7.8Hello,
our website is https://www.clevernetsystems.com but v1.7.8 is being tested on a server which is not publicly accessible.
Forum: Plugins
In reply to: [Polylang] pll_##### links as result of searchHello,
No answer at all from our theme vendor, but I found a solution anyway. You have to edit the file
wp-content/themes/your_theme/functions.php
and add at the end:add_filter('avf_exclude_taxonomies', 'avia_exclude_tax', 10, 3); function avia_exclude_tax($tax,$post_type,$id){ $tax[] = 'post_translations'; return $tax; }
Forum: Plugins
In reply to: [Polylang] pll_##### links as result of searchThanks. We asked the maker of our theme and we’ll post here an answer as soon as we get it so that other WP users can benefit.