Power Editor

This article goes over how to make advanced customizations by editing school template files in the Power Editor.

Overview

On the Business plan and up, you can edit your school’s template files in the Site > Power Editor section of your school admin.

CAUTION: Adding custom code to your school is an advanced modification—we can't guarantee full functionality or compatibility with current or future versions of Teachable. This includes how the code functions, as well as how it impacts the appearance of your school. Use caution when making changes to school template files via the Power Editor.

School template files use Liquid, an open-source templating language developed by Shopify. Liquid serves as a link between stored data and the HTML templates that are displayed on the page of your web browser.

TIP: Use Code Snippets to add HTML/Javascript to your school head tag and edit your school's CSS.

Edit Power Editor Templates

To make changes to your school’s template code, click on the template folders to open your school’s templates and partials:admin-site-power-editor-open-partials-templates.gif

In the template folders, you can use Liquid code to do the following:

NOTE: Some templates do not apply to pages created with the Page Editor 2.0. For more information on our page editor versions, please check out this Knowledge Base article.

Once you make changes to the template code, click Save. Click Publish to make your changes live on your school.

You can also Unpublish your edits at any time to remove the changes from your school, or click Reset to start over from the base template.

Was this article helpful?
38 out of 101 found this helpful
thanks_illustration

Can't find what you're looking for?

Contact us
thanks_illustration