1. Home
  2. Knowledge Base
  3. Uncanny LearnDash Codes
  4. Template Overrides

As of Uncanny LearnDash Enrollment Codes version 3.0.3, developers can edit template files in an upgrade-safe way using overrides.   Copy the template file into a directory within your theme named /uncanny-codes/, keeping the same file and folder structure but removing the /templates/ subdirectory.

For example, to override the Codes registration form, copy:

wp-content/plugins/uncanny-learndash-codes/src/templates/frontend-user-registration-form.php
to
wp-content/themes/yourtheme/uncanny-codes/frontend-user-registration-form.php

The copied file will now override the default.

Warning: Do not edit these files within the the Uncanny Codes plugin itself, as they are overwritten during the upgrade process and any customizations will be lost.

Customizations should only be attempted by experienced developers, as we cannot provide support for custom code.

Was this article helpful?

0 replies

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 *