• Resolved 1callservice

    (@1callservice)


    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)
  • Plugin Support Animesh Gaurav

    (@bizanimesh)

    Hey there – Assisting with customization is outside of the scope of the support that we can offer, per our support policy.

    You may hire someone from https://jobs.wordpress.net or Fiverr if you need help. You can also post your request to Upwork, which is a leading network of freelancers with a wealth of WordPress specialists at your disposal.

Viewing 1 replies (of 1 total)

The topic ‘Visit Results button does not work’ is closed to new replies.