Hide Curriculum block if it's not defined

Home Forums General [ No Support Zone ] Feature Request Hide Curriculum block if it's not defined

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #30631
    isigma
    Spectator
    In reality there are some, mostly offline classes, that require some other schedule/structure, which better fits class description area rather than curriculum. Let's hide the CURRICULUM block when there is no curriculum defined. It'll make the page cleaner and won't bother students that the "curriculum is missing". temporarily I added a check to the Course/single/Curriculum.php 21 $course_curriculum = vibe_sanitize(get_post_meta($id,'vibe_course_curriculum',false)); if(isset($course_curriculum)){ ...the rest of the code } PS. I'm displaying the curriculum below the class details (WPLMS by settings). In case of the dedicated curriculum menu tab - it should go away as well if there is no curriculum defined.
Viewing 1 post (of 1 total)
  • The topic ‘Hide Curriculum block if it's not defined’ is closed to new replies.