Title: BeTheme Users
Last modified: August 24, 2016

---

# BeTheme Users

 *  [jarbasfg](https://wordpress.org/support/users/jarbasfg/)
 * (@jarbasfg)
 * [11 years ago](https://wordpress.org/support/topic/betheme-users/)
 * Hi!
 * If your theme is popular BeTheme and the NMR dont’t work, all do you need is 
   put the code:
 *     ```
       <?php
                       // This is the added section
                       do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );
                       // end added section
       ?>
       ```
   
 * on line 225 of file betheme\functions\theme-mega-menu.php
 * Works like a charm!
 * [https://wordpress.org/plugins/nav-menu-roles/](https://wordpress.org/plugins/nav-menu-roles/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [HelgaTheViking](https://wordpress.org/support/users/helgatheviking/)
 * (@helgatheviking)
 * [11 years ago](https://wordpress.org/support/topic/betheme-users/#post-6162044)
 * Thanks for posting your solution.
 *  [auoasis](https://wordpress.org/support/users/auoasis/)
 * (@auoasis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/betheme-users/#post-6162098)
 * I have tried this work around in a few pages functions.php etc. At best I get
   a menu line added to the top of the page (not the menu) or more precisely half
   of a menu of scattered lines (unusable), close though. I have tried using this
   plugin on a clean install (no plugins) with multiple themes didn’t work. I have
   tried 4 – 5 other plugins to solve this viability issue they didn’t work. Nor
   did their work arounds. I have read the know issue report, multiple blogs, FAQ’s…
   and tried many things that looked simple but no luck but it seems such a simple
   issue; all I want to do is hide the nav menu to visitors (not logged in). Can
   anyone suggest a clean little line of php and where to add it or a work around
   that I can actually get working. Day 3 on what seems to be a 5 minute solution
   🙁
    Thank you,
 *  Plugin Author [HelgaTheViking](https://wordpress.org/support/users/helgatheviking/)
 * (@helgatheviking)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/betheme-users/#post-6162099)
 * Have you read _my_ [FAQ](https://wordpress.org/plugins/nav-menu-roles/faq/)? 
   In Workaround #1, it attempts to walk you through where to put the 1 line of 
   code which needs to be added to your theme to ensure compatibility. I can’t tell
   you what file and line number exactly because I don’t know your theme, the FAQ
   walks you through how to find where.
 * IF you still can’t find that, you can try Workaround #2 which is just to switch
   to a default theme (twenty fifteen), set the nav Menu roles meta (in the wp-admin,
   this is *not* yet part of the customizer!, and then revert to your non-compatible
   theme.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘BeTheme Users’ is closed to new replies.

 * ![](https://ps.w.org/nav-menu-roles/assets/icon-256x256.png?rev=2336319)
 * [Nav Menu Roles](https://wordpress.org/plugins/nav-menu-roles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nav-menu-roles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nav-menu-roles/)
 * [Active Topics](https://wordpress.org/support/plugin/nav-menu-roles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nav-menu-roles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nav-menu-roles/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [HelgaTheViking](https://wordpress.org/support/users/helgatheviking/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/betheme-users/#post-6162099)
 * Status: not a support question