Skip to content
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

Support WPML translated menu #60

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

slackday
Copy link
Contributor

@slackday slackday commented Mar 15, 2023

When using WPML plugin for translated website and just calling Navi::build('primary_navigation') I expect the menu or the current language to be returned.

This gets the wpml translated menu ID if available returning the translated navigation items. Falls back to normal menu if WPML is not activated.

@Log1x Log1x self-assigned this Mar 15, 2023
@Log1x Log1x merged commit 623ddc6 into Log1x:master Jul 29, 2023
@slackday slackday deleted the feature/wpml-translated-menu branch August 21, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants