Shortcode not working on Learndash lessons
-
Hello.
I’m trying to use your plugin with Learndash. I noticed that shortcode doesn’t work on a course lesson page. After forcing scripts loading in plugin code everything is working fine :
// $load_scripts = false; $load_scripts = true; if(is_page()){ $post = get_post(); if($post && has_shortcode($post->post_content, buddymeet_get_slug())){ $load_scripts = true; } else if( function_exists( 'buddypress' )){ global $bp; if(buddymeet_get_slug() === $bp->current_action){ $load_scripts = true; } }
Can you fix this somehow?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Shortcode not working on Learndash lessons’ is closed to new replies.