WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] How to disable WPAA+ menu in WP admin bar? (4 posts)

  1. Erwan
    Member
    Posted 1 year ago #

    Hi,

    1. Is it a deliberate choice from the dev to show the WPAA+ menu in WP admin bar only in frontend (i.e. when logged as an admin of my site, see this video capture) as an example), and not in backend? Any way to change this, i.e.: both backend & frontend, only backend, never...?
    2. Most of all, is there an option available to remove the WPPA+ menu from the WP admin bar in frontend? It's a real problem when using BuddyPress, because even a not logged user has the menu title displayed without any item / action available (see this video capture).

    Many thanks in advance!

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Edit wppa-adminbar.php

    Line 10 reads:

    add_action( 'admin_bar_menu', 'wppa_admin_bar_menu', 97 );

    remove the line or palace // in front:

    // add_action( 'admin_bar_menu', 'wppa_admin_bar_menu', 97 );

    I will look into the backend, and make it settable in a future version.

  3. Erwan
    Member
    Posted 1 year ago #

    Thanks a lot for your quick answer: trick works fine!

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    It will be optional for frontend and admin separately in version 5.0.13

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.