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.
The only solution that we’re aware of right now is to disable LearnDash transients.
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:
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.
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 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.
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.
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.