Okay can you please try adding the given code and remove that previous one in your wplms-customizer.php file in wplms customizer plugin :
add_Action('init','wplms_course_yoast_Seo_fix123');
function wplms_course_yoast_Seo_fix123(){
if(function_exists('wpseo_frontend_head_init')){
add_action( 'template_redirect', 'wpseo_frontend_head_init', 1);
}
}
Sorry, but It doesn't work
Well as you can see that this is working fine at our demo setup :
http://themes.vibethemes.com/wplms/skins/default/course/developing-mobile-apps/
refer :
http://prntscr.com/dtofb7
Can you please share your admin credentials to look further on this ?
Ps: mark reply as private while sharing credentials .
This reply has been marked as private.
you need to delete the fb sharing cache for it and fetch the new information on facebook.
scrape new info here :
https://developers.facebook.com/tools/debug/
Dear Alex,
Sorry, but I follow the instructions and it doesn't work.
For example: I have a social share title, description and image in
http://planetacg.com/empleo/
I have debugged in Sharing Debugger tool, but nothing happens.
Okay please try removing the code given previously and try adding this new code in your wplms-customizer.php file in wplms customizer plugin :
add_action('wplms_before_single_course','wplms_course_yoast_Seo_fix1244',10);
function wplms_course_yoast_Seo_fix1244(){
if(function_exists('wpseo_frontend_head_init')){
add_action( 'wplms_before_single_course', 'wpseo_frontend_head_init', 99);
}
Trying to add this code but a message appears:
"The plugin has been disabled because your changes have caused a fatal error."
OK, a "}" was missing.
I added it and it works!
thank you very much :)