For WPLMS Version 3.9.8.1
The below tip will not work. Just install the yoast SEO Plugin and add the title here: https://prnt.sc/rvxcw1
For WPLMS Version below 3.0
1.Download the Yoast Seo plugin to change the title Course Directory. Refer link:https://wordpress.org/plugins/wordpress-seo/
2.Go to WP Admin -> Plugins -> Editor -> WPLMS Customizer -> customizer_class.php
3. Add this line in customizer_class.php :
PHP Code:
add_filter( 'init',array($this,'yoast_seo_title_fix'),20);
4. Add this code in the Class :
PHP Code:
function yoast_seo_title_fix() { if(class_exists(WPSEO_Frontend)){ add_filter( 'wp_title', array( WPSEO_Frontend::get_instance(), 'title' ), 25, 3 ); } }
5. Save.
6.Go to All courses page from Wp-admin ->Yoast seo.
7.Edit the Seo Title.
8.Click on Update.