• Resolved webam

    (@webam)


    you tell me how do I set the dynamic link to go directly into the ads menu?

    Default buddypress gives me all its menus: activity, profile, settings, messages, notifications etc. but there is no ads menu.

    Since it is your addition, could you tell me how to set it in the main menu?

    Then I wanted to know if you can tell me how to delete two submenus of the ad menu in buddypress.
    When a user clicks on the “ad” menu he must directly access the ad management to edit, delete, renew, view statistics etc. Research and creation of the ad do not want it in buddypress, how do I delete it?

    buddypress-edit1
    buddypress-edit2

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter webam

    (@webam)

    Thanks

    Plugin Author Greg Winiarski

    (@gwin)

    1. from the screenshot it looks like the “Annunci” menu item is there but is covered by the BP user cover image (the gray background in your case).

    2. if i understand correctly you want to remove the Create Ad and Manage items from the menu if so then the code below should do that

    
    add_filter( "adext_bp_core_subnav_item_create", "disable_wpadverts_bp_menu_item" );
    add_filter( "adext_bp_core_subnav_item_manage", "disable_wpadverts_bp_menu_item" );
    function disable_wpadverts_bp_menu_item( $args ) {
        $args["user_has_access"] = false;
    }
    
    Thread Starter webam

    (@webam)

    Thankyou. And How i can add direct menu for go direct in the Ad page on buddypress?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Buddypress: menu link for ad menu and how delete 2 submenu from it’ is closed to new replies.