Course Menu – Want to ad

Home Forums Legacy Support Support queries Setup issues Course Menu – Want to ad

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #260304
    proazim
    Spectator
    Hello, See this screenshot: https://ibb.co/kKLFk8K I want to add custom menu option in single course menu like screenshot. Now showing in course menu: Home   Members   Activity   Forum   Events But i want to show course menu like: Home   Description   Curriculum    Review How to do this?
    #260457
    Jackson
    Blocked
    Hello @proazim, If you want to remove some thing from profile menu like: Members Activity Forum Events Please add the following code to remove the dashboard button from user profile nav in your wplms-customizer.php file in wplms customizer plugin : function bp_remove_nav_tabs() { bp_core_remove_nav_item( 'members'); bp_core_remove_nav_item( 'forum'); bp_core_remove_nav_item( 'activity'); bp_core_remove_nav_item( 'events'); //similarly you can hide others } add_action( 'bp_setup_nav', 'bp_remove_nav_tabs',999 ); If you wan to add these items (Description Curriculum Review)then use this one: function bp_add_nav_tabs() { bp_core_remove_nav_item( 'description'); bp_core_remove_nav_item( 'curriculum'); bp_core_remove_nav_item( 'review'); //similarly you can add others } Thanks, add_action( 'bp_setup_nav', 'bp_remove_nav_tabs',999 );
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Course Menu – Want to ad’ is closed to new replies.