Title: Admin menu items not shown
Last modified: August 21, 2016

---

# Admin menu items not shown

 *  Resolved [zigpress](https://wordpress.org/support/users/zigpress/)
 * (@zigpress)
 * [12 years ago](https://wordpress.org/support/topic/admin-menu-items-not-shown/)
 * I installed and activated but there was no ‘Photo Gallery’ in the admin menu.
 * I dug into the code, found line 59 in ‘photo-gallery.php’ and changed
 * add_action(‘admin_menu’, ‘bwg_options_panel’);
 * to
 * add_action(‘admin_init’, ‘bwg_options_panel’);
 * Then it worked. Maybe you can check this out and release a new version if needed?
 * [https://wordpress.org/plugins/photo-gallery/](https://wordpress.org/plugins/photo-gallery/)

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

 *  Plugin Contributor [webdorado](https://wordpress.org/support/users/webdorado/)
 * (@webdorado)
 * [12 years ago](https://wordpress.org/support/topic/admin-menu-items-not-shown/#post-4933084)
 * Dear ZigPress,
 * Thank you very much. We will check it out but please check the note here: [http://codex.wordpress.org/Plugin_API/Action_Reference/admin_menu](http://codex.wordpress.org/Plugin_API/Action_Reference/admin_menu)
 *  [TheHouseOfStuart](https://wordpress.org/support/users/thehouseofstuart/)
 * (@thehouseofstuart)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/admin-menu-items-not-shown/#post-4933108)
 * I have this exact same issue. Using ZigPress’ solution, the menu does appear,
   but upon trying to access it, there is an error stating that I do not have sufficient
   privileges (which I should, since I am the site admin).
 * For now, the only way that I can access the plugin settings is by manually going
   to the plugin settings’ URL (ex. [http://[my-site-url-here]/wp-admin/admin.php?page=galleries_bwg](http://[my-site-url-here]/wp-admin/admin.php?page=galleries_bwg)).
 * This is a great plugin, but I came very near just uninstalling it and moving 
   on to another plugin due to this. I would assume less savvy users have. When 
   is the fix for this coming?
 *  Plugin Contributor [webdorado](https://wordpress.org/support/users/webdorado/)
 * (@webdorado)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/admin-menu-items-not-shown/#post-4933109)
 * Dear TheHouseOfStuart,
 * Please consider the first post as the solution of the problem. But please note,
   but WordPress codex does not suggest using this method.
 * Thank you.
 *  [HamidReza Abdipour](https://wordpress.org/support/users/aram-gsm/)
 * (@aram-gsm)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/admin-menu-items-not-shown/#post-4933111)
 * i have the same issue. after using first post’s solution, admin panel showing
   but not open any option. i got this error:
    You do not have sufficient permissions
   to access this page.
 * before change
    add_action(‘admin_menu’, ‘bwg_options_panel’); to add_action(‘
   admin_init’, ‘bwg_options_panel’); i could open options manually.
 *  [HamidReza Abdipour](https://wordpress.org/support/users/aram-gsm/)
 * (@aram-gsm)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/admin-menu-items-not-shown/#post-4933113)
 * install this plugin: [Gallery](http://wordpress.org/plugins/gallery-plugin/)
   
   after active that, photo gallery will work correctly. use it 😉

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

The topic ‘Admin menu items not shown’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 5 replies
 * 4 participants
 * Last reply from: [HamidReza Abdipour](https://wordpress.org/support/users/aram-gsm/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/admin-menu-items-not-shown/#post-4933113)
 * Status: resolved