Display profile menu as a hamburger menu on mobile.

You may use this code snippet to change the profile menu layout to a "hamburger menu" view on mobile devices. Just add this code to the file functions.php in the active theme directory. Skip the opening <?php tag.

NOTE: We have created this code example to provide guidance and to make it easier for you to implement this code into your website. However, we are not able to provide any support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.


Example - Closed menu.

Example - Opened menu.