• I tried using is_singular(‘lp_course’) and learn_press_is_course() in pre_get_posts hook, only to return false on the Single Course page (domain.com/courses/course-1/). Any idea?

  • The topic ‘Conditional functions not working’ is closed to new replies.