Theme Documentation
Search…
Objects
Inside all Kajabi themes you have access to a number of objects that connect your theme to the data from the Kajabi Admin.

Announcement

1
{{ announcement.id }}
2
{{ announcement.title }}
3
{{ announcement.body }}
4
{{ announcement.created_at }}
5
{{ announcement.updated_at }}
Copied!

Blog Post

1
{{ blog_post.id }}
2
{{ blog_post.title }}
3
{{ blog_post.content }}
4
{{ blog_post.image_url }}
5
{{ blog_post.created_at }}
6
{{ blog_post.url}}
7
{{ blog_post.tags | join: ', ' }}
Copied!

Category

1
{{ category.id }}
2
{{ category.title }}
3
{{ category.description }}
4
{{ category.poster_image_url }}
5
{{ category.created_at }}
6
{{ product.updated_at }}
7
{{ category.subcategories }}
8
{{ category.product }}
9
{{ category.children? }}
10
{{ category.nested? }}
Copied!

Comment

1
{{ comment.id }}
2
{{ comment.author }}
3
{{ comment.body }}
Copied!

Completion

1
{{ completion.completed }}
2
{{ completion.total }}
3
{{ completion.percent}}
Copied!

Download

1
{{ download.id }}
2
{{ download.display_name }}
3
{{ download.url }}
4
{{ download.extension }}
Copied!

Form

1
{{ form.id }}
2
{{ form.title }}
3
{% assign f = current_site.find_form[settings.form] %}
4
{% form f %}
5
{% for field in f.fields %}
6
{{ field | form_input: class: "form-group", input_class: "form-control", label: true, placeholder: false }}
7
{% endform %}
Copied!

Offer

1
{{ offer.id }}
2
{{ offer.image_url }}
3
{{ offer.description }}
4
{{ offer.title }}
5
{{ offer.thank_you_body }}
Copied!

Page

1
{{ page.id }}
2
{{ page.title }}
3
{{ page.content }}
Copied!

Paginate

1
{{ paginate.collection }}
2
{{ paginate.current_page }}
3
{{ paginate.current_offset }}
4
{{ paginate.items }}
5
{{ paginate.page_size }}
6
{{ paginate.pages }}
7
{{ paginate.parts }}
8
{{ paginate.previous }}
9
{{ paginate.next }}
Copied!

Post

1
{{ post.id }}
2
{{ post.title }}
3
{{ post.url }}
4
{{ post.poster_image_url }}"
5
{{ post.body }}
6
{{ post.product }}
7
{{ post.category }}
8
{{ post.comments }}
9
{{ post.comments_mode_visible? }}
10
{{ post.comments_mode_hidden? }}
11
{{ post.comments_mode_locked? }}
Copied!

Product

1
{{ product.id }}
2
{{ product.title }}
3
{{ product.url }}
4
{{ product.description }}
5
{{ product.thumbnail_url }}
6
{{ product.created_at }}
7
{{ product.updated_at }}
8
{{ product.categories_url }}
9
{{ product.completion }}
10
{{ product.categories }}
11
{{ product.announcements }}
Copied!

Current Site

1
{{ current_site.id }}
2
{{ current_site.title }}
3
{{ current_site.url }}
4
{{ current_site.products }}
5
{{ current_site.login_url }}
6
{{ current_site.logout_url }}
7
{{ current_site.library_url }}
8
{{ current_site.google_analytics_script }}
Copied!

Video

1
{{ post.video | wistia_video: controls_visible_on_load: false, autoplay: true }}
Copied!
or
1
{% assign v = current_site.find_video[section.settings.video] %}
2
{% assign v-Image = section.settings.image | image_picker_url: 'video.png' %}
3
{% assign v-Auto = section.settings.autoplay %}
4
{% assign v-Color = section.settings.video_color %}
5
{{ v | wistia_video: player_color: v-Color, auto_play: v-Auto, still_url: v-Image, playerPreference: "html5" }}
Copied!
Last modified 2yr ago