Default language for dynamic pages (custom urls)
-
Hi,
(Polylang 1.7.5, WP 4.2.2, custom permalink structure, static frontpage, hide language in the url, determine lang based on content).
I have some dynamic permalinks to views that don’t have a page or post connected to them, i.e. /foo/bar that displays information from an external source so there’s no page in wp-admin.
My issue is that my widget sidebar that is present on these pages is showing all widgets from all languages and is not filtering per the default language as set in wp-admin. pll_current_language is (obviously) giving me null, so I expect pll to pull the widgets per the default language but that doesn’t seem to be the case.
Is this a bug or unsupported and is there something I can do to force pll to fetch the sidebar widgets for a specific language?
- The topic ‘Default language for dynamic pages (custom urls)’ is closed to new replies.