• Resolved zigpress

    (@zigpress)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor webdorado

    (@webdorado)

    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

    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).

    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

    (@webdorado)

    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.

    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.

    install this plugin: Gallery
    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.