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

{{ announcement.id }}
{{ announcement.title }}
{{ announcement.body }}
{{ announcement.created_at }}
{{ announcement.updated_at }}

Blog Post

{{ blog_post.id }}
{{ blog_post.title }}
{{ blog_post.content }}
{{ blog_post.image_url }}
{{ blog_post.created_at }}
{{ blog_post.url}}
{{ blog_post.tags | join: ', ' }}

Category

{{ category.id }}
{{ category.title }}
{{ category.description }}
{{ category.poster_image_url }}
{{ category.created_at }}
{{ product.updated_at }}
{{ category.subcategories }}
{{ category.product }}
{{ category.children? }}
{{ category.nested? }}

Comment

{{ comment.id }}
{{ comment.author }}
{{ comment.body }}

Completion

{{ completion.completed }}
{{ completion.total }}
{{ completion.percent }}
{{ completion.next_post }}

Download

{{ download.id }}
{{ download.display_name }}
{{ download.url }}
{{ download.extension }}

Form

{{ form.id }}
{{ form.title }}

<div data-gb-custom-block data-tag="assign"></div>

<div data-gb-custom-block data-tag="form">

  

<div data-gb-custom-block data-tag="for"></div>

  {{ field | form_input: class: "form-group", input_class: "form-control", label: true, placeholder: false }}

</div>

Offer

{{ offer.id }}
{{ offer.image_url }}
{{ offer.description }}
{{ offer.title }}
{{ offer.thank_you_body }}

Page

{{ page.id }}
{{ page.title }}
{{ page.content }}

Paginate

{{ paginate.collection }}
{{ paginate.current_page }}
{{ paginate.current_offset }}
{{ paginate.items }}
{{ paginate.page_size }}
{{ paginate.pages }}
{{ paginate.parts }}
{{ paginate.previous }}
{{ paginate.next }}

Post

{{ post.id }}
{{ post.title }}
{{ post.url }}
{{ post.poster_image_url }}"
{{ post.body }}
{{ post.product }}
{{ post.category }}
{{ post.comments }}
{{ post.comments_mode_visible? }}
{{ post.comments_mode_hidden? }}
{{ post.comments_mode_locked? }}

Product

{{ product.id }}
{{ product.title }}
{{ product.url }}
{{ product.description }}
{{ product.thumbnail_url }}
{{ product.created_at }}
{{ product.updated_at }}
{{ product.categories_url }}
{{ product.completion }}
{{ product.categories }}
{{ product.announcements }}

Current Site

{{ current_site.id }}
{{ current_site.title }}
{{ current_site.url }}
{{ current_site.products }}
{{ current_site.login_url }}
{{ current_site.logout_url }}
{{ current_site.library_url }}
{{ current_site.google_analytics_script }}

Video

{{ post.video | wistia_video: controls_visible_on_load: false, autoplay: true }}

or


<div data-gb-custom-block data-tag="assign"></div>

<div data-gb-custom-block data-tag="assign" data-0='video.png' data-1='video.png' data-2='video.png' data-3='video.png' data-4='video.png'></div>

<div data-gb-custom-block data-tag="assign"></div>

<div data-gb-custom-block data-tag="assign"></div>
{{ v | wistia_video: player_color: v-Color, auto_play: v-Auto, still_url: v-Image, playerPreference: "html5" }}

Last updated