Show All Courses link in Category, Post Mega Menu

If you’re using MegaMenu type : Category – Post type as in below image, you can display an all-courses directory¬† link using below code : http://prntscr.com/mwqx15   add below code in Child theme – functions.php add_filter(‘walker_nav_menu_start_el’,function($item_output, $item){ if($item->megamenu_type == ‘cat_posts’){ $courses_url = get_permalink(vibe_get_bp_page_id(‘course’)); $item_output .= ‘<a href=”‘.$courses_url.’” class=”megamenu_all_courses_link” style=”position: absolute;right: […]

Show courses subscribed by user in user profile to others

add this given code in your wplms-customizer.php file wplms customizer plugin : add_action(‘bp_init’,function (){ add_action( ‘bp_setup_nav’,’courses_tab’); function courses_tab(){ bp_core_new_nav_item( array( ‘name’ => __( ‘Courses’,’vibe’), ‘slug’ => ‘courses’, ‘screen_function’ =>’courses_screen’, ‘show_for_displayed_user’ => true, ‘item_css_id’ => ‘courses’, ‘default_subnav_slug’ => ‘home’, ‘position’ => 55, ) ); } function courses_screen() { add_action( ‘bp_template_title’, ‘courses_title’ […]