Template Overrides

Uncanny Codes 3.0.3 and later allows developers to 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.

0 replies

Comments/Questions

Please note that this is not a support forum. If you are experiencing issues on your site, please open a support ticket instead. Site-specific support questions submitted as comments will be unanswered.

Leave a Reply

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