Page 1 of 1

Add id '' to ThemeableMenu items?

Posted: Sun Feb 28, 2021 7:27 pm
by semua
Hello

I am using a php code to check if the user is logged in or not. Depending on the result, I need to hide / show buttons. However I am not able to do this in the items of ThemeableMenu because they have no id.

Is there a way to add id's to ThemeableMenu items? I recommend if you do not have to add this function in the menu items as it makes it very easy to hide / show individually.

Re: Add id '' to ThemeableMenu items?

Posted: Sun Feb 28, 2021 9:15 pm
by Pablo
I'm sorry, there is no standard option to add ID's to menu items.
This will require a custom script.

Re: Add id '' to ThemeableMenu items?

Posted: Sun Feb 28, 2021 11:34 pm
by semua
Pablo wrote: Sun Feb 28, 2021 9:15 pm I'm sorry, there is no standard option to add ID's to menu items.
This will require a custom script.
Okay, I appreciate the quick response. I will use alternative means then. Perhaps this function could be implemented in a new version.

Re: Add id '' to ThemeableMenu items?

Posted: Mon Mar 01, 2021 7:08 am
by Pablo
I am not sure it this will be useful for a lot of users.
But you can this in the ''Suggestions' section. If more users find this useful then I will consider it for future development.