1. Home
  2. Knowledge Base
  3. Uncanny LearnDash Toolkit
  4. LearnDash Resume Button

Live Demo

See this module in action on our LearnDash demo site!

Overview

The LearnDash Resume Button module enables a shortcode that allows signed-in users to immediately return to the last LearnDash post (course, lesson, topic or quiz) that they visited.

Shortcode

[uo_learndash_resume]

Adding the shortcode will create a button (which will adopt any styles set for form submit buttons on your site) that’s visible to users that have visited at least one LearnDash page. Because the button depends on users being signed in, it’s recommended that you add the shortcode to a page only accessible to signed-in users.

Course-Specific Resume Buttons

Version 2.5 of the Toolkit and later support resume buttons that remember the last visited lesson, topic or quiz in each course. You can insert this shortcode on course pages to use it:

[uo_course_resume course_id="x"]

The course_id attribute is required and allows the shortcode to be used outside of course pages. Replace the “x” in the example with the ID of your course to link it to the associated course.

Customization

The button can be restyled with CSS. Here’s an example of how to target the Resume button:

a.learndash-resume-button input[type="submit"] {color:#FFF;}

Please Note: The Resume button should only be placed on non-LearnDash pages. When on a LearnDash page, that page would become the last LearnDash page visited and the Resume button would therefore link to itself.

Was this article helpful?

12 replies
  1. Hanneke
    Hanneke says:

    I can’t put the LearnDash Resume Button on. The system ask: LearnDash is needed for this add-on.
    Add-on doesn’t work. The timer goes on and on.
    I only installed uncanny toolkit.

    An other question: can I use this plug in without woocommerce?

    It would be kind to hear from you.
    WIth kind regards,
    Hanneke Stam
    The Neterlands

    Reply
    • Ryan
      Ryan says:

      Make sure you have LearnDash installed (the latest version) and have not renamed the LearnDash plugin folder. Also make sure that you are using PHP 5.6 or higher.

      And yes, you can definitely use this plugin without WooCommerce.

      Reply
  2. Stephanie
    Stephanie says:

    I’m having trouble changing the continue/resume button text. I have changed it within the Dashboard > Uncanny Toolkit but its not showing those changes and I have cleared cache and everything. I’ve even tried different browsers. It just wont update on the page where the button is. It will load the new text for a second then switches back to the original text. Yet the text in the settings is the new text I have entered..

    Reply
    • Ryan
      Ryan says:

      There could be a number of reasons for this. Are you using a translation plugin that’s overriding it? If you try changing your WordPress language settings to US English, does that correct the issue? Is the text definitely being saved properly in the settings, so if you go back in is your previous text still there?

      Reply
      • Stephanie
        Stephanie says:

        Hi Ryan, thanks for responding to my message. There is no translation plugin being used and the settings are already on US English. And lastly, yes if I exit the Uncanny toolkit page and go back in to check the settings, the text is still showing up as the new text I had entered. I have however noticed that the version we have is 2.1 but there has since been new updates. Although nothing specifically around my issue is showing in the changelogs. I think perhaps that is contributing to the issue though, unless you have some other suggestions around this?

        Reply
        • Ryan
          Ryan says:

          You should definitely be running that latest version of the plugin. Try that, if you continue to have issues specific to your site, it’s better if we take a look through a tickets in the WordPress.org support forum rather than this Knowledge Base article.

          Reply
  3. Andreas
    Andreas says:

    Hi, integrated the shortcode on the course detail page but button doesn’t work. I already completed a topic but The link always goes back to the course page itself. Whats the problem here?

    Reply
    • Ryan
      Ryan says:

      Yes, the button should never be added to LearnDash pages. It’s in the important note at the bottom of the article above. 🙂

      Reply
    • Ken Young
      Ken Young says:

      Hi Rob, the Resume button shows up on our development server in Firefox. Perhaps there’s a theme conflict preventing it from showing up on your site. Try switching themes to see if that helps.

      Reply
  4. Louis
    Louis says:

    Is there a way to display the title of the course or lesson that the resume button is attached to? The button works, but I don’t know how to display where it will take the user.

    Reply
    • Ken Young
      Ken Young says:

      Unfortunately, there’s currently no way to do that. However, that’s a good suggestion, and I’ve added it to our product backlog. Thanks!

      Reply

Comments/Questions

Please note that this is not an official support channel and questions/comments may go unanswered.
To request support, log in to your account and click Submit a Request.

Leave a Reply

Your email address will not be published. Required fields are marked *