- This topic has 11 replies, 2 voices, and was last updated 2 months ago by David.
November 11, 2021 at 6:28 am #1999984Hans
I would like to add the WPML language switcher on the right side of the search icon in the menu on this website: https://ebcgroup.nl
I tried adding a hook with the PHP code for the switcher but I was not able to find the right setting to add it in this location.
Could you point me toward a solutions?
HansNovember 11, 2021 at 7:23 am #2000054DavidStaffCustomer SupportNovember 11, 2021 at 7:30 am #2000072Hans
Added a custom hook with generate_menu_bar_items and priority set to 20 but does not show the selector.November 11, 2021 at 7:33 am #2000080DavidStaffCustomer SupportNovember 12, 2021 at 1:15 am #2001107Hans
That fixed it David, site logo got weird size but i can fix that.
Now it does work on desktop but not on mobile, do you have a solution for that as well?
And one more question, when switching to Flexbox structure when ik go back to general after altering it the selection ability is gone. Is it supposed to do that?November 12, 2021 at 7:19 am #2001409DavidStaffCustomer Support
Do you have any page caching enabled as i cannot see any changes?
And one more question, when switching to Flexbox structure when ik go back to general after altering it the selection ability is gone. Is it supposed to do that?
Yes, we have been deprecating the old theme structure. All current versions of the theme will now be FlexboxNovember 15, 2021 at 5:15 am #2004692Hans
Sorry, I had to revert to previous back-up version to work on it on a later date.
If you could leave this threat open a little longer, then I will let you know when I have implemented the changes again. So you can have a look.November 15, 2021 at 5:59 am #2004742DavidStaffCustomer SupportNovember 19, 2021 at 3:42 am #2010678Hans
I have but back in place the hook and desktop is working as expected.
As I mentioned in an earlier post, the language flags or not showing on mobile menu.
Maybe you could help me with that.
HansNovember 19, 2021 at 6:43 am #2010905DavidStaffCustomer SupportNovember 19, 2021 at 7:30 am #2010965Hans
Awesome David, that did the trick, thanks!
HansNovember 19, 2021 at 7:57 am #2011197
- You must be logged in to reply to this topic.