New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: polylang support #118
Comments
+1 |
I initially thought it would not work with Polylang at all but seems to play decent when we test them together. Menu sync won't work and connected to this is the add link functionality which also won't work, so we now have menu sync completely turned of. I am not really sure how Nested Pages could address this issue, maybe sync one menu per language that you have setup in Polylang? Anything else which don't work that you know of? |
Hi, we use a multisite system with wpml now - everything works for us - but we don´t use the automatic menu creation feature. Best,
|
+1 |
+1 |
Hi, any news on this? |
+1 |
+1 This would be nice! |
+1 do it |
+1 This would be very nice feature! |
+1 It would be useful to at least see which pages are for which language... |
+1, would be a superb addition :) |
+1 as well, would love it! |
Hey y'all I just circumnavigated this issue by instead of having multiple menus for the different languages that have to be synced, I just filter the menu at rendering. Here's the gist to the new function I'd recommend including that in your theme functions file (or wherever you need it) and just call that function instead. Here's two things: Firstly, I obviously know that it won't work for people who can't access their source code. Sorry bout that. Happy to hear from y'all! EDIT: I just realized that the filter should probably not apply to all menus all the time. I therefore had to refactor the callback into a named function, add it before running the wp_nav_menu command, removing it again and then returning the output. Not very elegant... But it works 🥴 |
it would be also nice to support the other popular multilanguage plugin: polylang:
https://wordpress.org/plugins/polylang/
I think, even more, in a multilanguage environment, wp-nested-pages is a must-have but currently not supporting polylang.
The text was updated successfully, but these errors were encountered: