shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Overriding LearnDash Templates

eLumine has three LearnDash templates

  1. Neo Layouts
  2. Classic Layouts
  3. Swift Loading Layouts
  4. Elementary Layouts

You can use either of them and can override any template in the child theme.

To override the templates:
Copy the template into a directory named /learndash in your child theme keeping the same file structure but removing the /templates/ subdirectory.

Example: To override the course.php from Swift loading layouts,
copy: wp-content/themes/elumine/learndash/dynamic/templates/course.php to wp-content/themes/elumine-child/learndash/dynamic/course.php

To override the template parts:

Copy the template into a directory named /learndash within your child theme keeping the same file structure.

Example: To override the content-course-table.php from swift load layouts, copy: elumine/learndash/dynamic/template-parts/content-course-table.php to elumine-child/learndash/dynamic/template-parts/content-course-table.php

Note: In the case of classic layouts you have to create or use the directory named static instead of dynamic. And for elementary layouts, you have to create or use the directory named flexible instead of dynamic.

Updated on March 10, 2021
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Was this article helpful?

shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Related Articles