Visit Results button does not work
-
The Visit Results button is not working. It just goes to course completed page without the course id in the URL
To fix I changed line 75 of includes/blocks/class-sensei-block-view-results.php
return '<form method="get" action="' . esc_url( Sensei_Course::get_view_results_link( $course_id ) ) . '" class="sensei-block-wrapper sensei-cta">' .to…
return '<form method="get" action="/course-completed/" class="sensei-block-wrapper sensei-cta"><input type="hidden" name="course_id" value="'.$course_id.'" />' .not sure why but WordPress just totally removes the ?course_id= part from the form action when submit button is clicked. but when it’s a hidden field within the form, it works.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Visit Results button does not work’ is closed to new replies.