LearnDash Design & Tutorials

LearnDash Design & Tutorials

How to Fix Lessons Changing Order in Course Builder: Disable LearnDash Transients

Affiliate Disclosure: We may be compensated if you use our links to make a purchase. We are extremely selective in who we partner with & only recommend products we believe in. Our affiliate relationships do not influence our recommendations.

Are your lessons jumping around in the LearnDash course builder? Do your section headings not appear in the correct place? Does the order of your lessons in the course builder not match what you’re seeing on the frontend of your site?

This issue has been reported by quite a few LearnDash users since the launch of the course builder in LearnDash 3.0. It happens with some courses and not with others; some times and not during others; with lessons, topics and could possibly happen with both.

Here’s the best solution we can offer to fix the random placement of lessons & topics in the LearnDash course builder.

UPDATE: April 2, 2021
As of version 3.4, a LearnDash representative said that transients are disabled by default. This means you likely don’t need to use the solution below if you’re using LearnDash 3.4 or above.

The Solution

The only solution that we’re aware of right now is to disable LearnDash transients.

UPDATE: March 13, 2021
The PowerPack for LearnDash plugin will let you disable transients with one click.

This will require a little bit of code. If you’re not comfortable editing code, you might want to hire a developer or ask for help. It is only one line of code, but it requires editing a very important file that could impact your entire site. Please be careful.

You need to add the following line to the wp-config.php file, found in the root directory of your WordPress site.

define( 'LEARNDASH_TRANSIENTS_DISABLED', true );

Insert that code directly above the line that says /* That's all, stop editing! Happy blogging. */

It should look like this:

Disable LearnDash transients code

How to Edit the wp-config.php File

There are multiple ways to edit this file. It will vary based on the hosting company you use, and some hosts might even prevent you from editing it. You can reach out to their support and ask them to do it for you.

WARNING
Again, if you’re not comfortable with this, please ask for help. If you forget a comma or a semicolon, it could bring down your entire site.

SFTP

SFTP allows you to download files from your web server to your local computer, make changes to them, then upload the new file back to the server. There are many free SFTP programs out there that you can use. These vary based on Windows vs. Mac operating systems. I prefer FileZilla.

Complete instructions here →

cPanel

If your host uses cPanel for its control panel, there is usually a “File Manager” module you can use. I won’t go into detail on how to do this, but this article has a good tutorial.

SSH

This is a more technical way to edit files on your server. I won’t be covering it in this article, but you can search for it if you’re curious. Here’s a good tutorial →


Once you’ve saved & reuploaded the file, resave the course page you were having issues with. See if the reordering is still occuring.

I haven’t been able to independently confirm this works, so if it works for you, PLEASE 🙏 let us know in the comments.

Sponsor

Finally Revealed...

NEW breakthrough solution allows you to IMMEDIATELY GROW student engagement and revenue per student by creating a state of the art mobile application in UNDER 60 MINUTES without ANY coding knowledge!

5 out of 5 stars

Proven and tested by over 1,000 LearnDash customers.

Get your LearnDash Mobile App →

Previous

Remove Scrollbar When Focus Mode Sidebar is Collapsed

Next

LearnDash & the SG Optimizer Plugin 🙅‍♀️

2 Comments

  1. Janie

    FYI I’m using Learndash 3.5 and I’m still having to use this, so I’m not sure it is fixed in 3.4+

    Thanks for the tip, this was really helpful!

    • Hi Janie – Yeah, as of October 4th and LearnDash version 3.5, quite a few people are still experiencing this issue. LearnDash just released version 3.5.1 on October 5th and the changelog mentions something that addresses this. Hopefully that will resolve the issue for at least some people.

Leave a Reply

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

Powered by WordPress & Theme by Anders Norén