How to create custom Acquaint LMS templates

🕓 1 minutes | 1357 views

Acquaint LMS uses 2 template pages:

Single Lesson Template

This is the single-lesson.php template. It is already loaded from the plugin’s /templates/ directory, but it can be overriden by a single-lesson.php template in your theme’s directory.

The most frequent customization is the HTML structure, as different themes use different structures.

Course Taxonomy Template

This is the taxonomy-course.php template. It is already loaded from the plugin’s /templates/ directory, but it can be overriden by a taxonomy-course.php template in your theme’s directory.

The most frequent customization is the HTML structure, as different themes use different structures, but also the column structure and some wording.

As an example, the default taxonomy-course.php template has the content HTML structure below:

<div class="wrap-inner">
    <div class="wrap-content">
        <h1 class="entry-title">Training: <?php echo single_term_title("", false); ?></h1>

        <div class="wrap-content-inner">

But you can customize it as below:

<div class="container content">
    <div id="page_wrap_full">
        <div id="page_full" class="is_page">

            <h1 class="entry-title">Knowledge Base: <?php echo single_term_title("", false); ?></h1>

            <div class="wrap-content-inner">

Note how I changed the HTML classes and the wording. Use your theme’s taxonomy.php structure to customize the Course template. In case you don’t have a taxonomy.php template, use your category.php, archive.php, or index.php templates.

Lighthouse 3.6 has arrived!
Privacy Policy