With the code editor you can add and edit the code behind your site to design unique pages for your visitors to interact and engage with.
Note: The code editor is only available with the Pro Plan. Check out kajabi.com/pricing for more details. If you're unfamiliar with editing code, we recommend consulting and hiring a professional to help.
If you have access to the code editor, you'll see the Modify code feature when viewing the More Actions menu for your pages:
Note: The code editor feature is not available for checkout pages.
Website template
To access and edit the code for your Standard Website Pages:
Open the Website tab from the Dashboard.
Under Design, locate the template you wish to edit.
Click either the down arrow on your live template or
…on your saved template and select Modify code:
Note: Looking to update your website template? Click here to learn more. Changes made inside the code editor may not be applied to your updated template version. If you are unfamiliar with editing code please refrain from changing the template structure. We recommend hiring a professional to help.
Course Product template
To edit the code of your Course Product template:
Open the Products tab from the Dashboard.
Under Courses, select the Course Product you wish to edit.
Click Customize.
Locate your desired Product template.
Click
…and select Modify code:
Show every lesson in a Course syllabus
By default, the syllabus only lists the first 10 lessons per module before showing a Show More link. If you want to display every lesson instead, edit product_syllabus.liquid in the Snippets folder.
Note: This only applies if the syllabus section's Syllabus Type setting is Posts. On the default Categories setting, the syllabus lists modules only — there's no lesson limit to edit.
Find the lesson loop and change the limit to show every lesson in a module:
{% for post in category.posts limit:10 %}Update the Show More link so it matches. If you changed the limit to a custom number, use that same number here. If you removed the limit entirely, delete this whole
{% if %}block — otherwise the link will show or hide at the wrong point:{% if category.posts.size >= 10 %}If you also want to change how many modules appear per page (not lessons), edit this separately:
{% paginate product.categories by 10 %}
Warning: Kajabi's own theme settings warn that removing the lesson limit can cause a Liquid error on products with a large number of lessons. Preview the page before saving if your Course has a lot of content.
Landing page template
To edit the code of your Landing Page template:
Open the Website tab from the Dashboard.
Click Landing Pages.
Locate the page you wish to edit.
Click
…and select Modify code:
Using the code editor
Kajabi template code is written in Liquid. With code editor access in Kajabi, you'll have the ability to view, add, and modify your template code files.
Refer to Kajabi's Template Documentation for a complete overview of each template directory.
Note: It's important to keep in mind that changes to your code will not be retained if you choose to update your template.
To use the code editor in Kajabi:
Open the code editor for your template as directed above.
Select your desired directory.
Select your desired file.
Modify your code as needed.
Click Save.
Optional step: Click Preview.
Note: Our support team is unable to assist with creating or modifying custom code. We highly recommend seeking assistance from a professional before modifying your template code.



