current_site_user

The liquid object `current_site_user` returns information about a Kajabi Site. In your themes, you can access the current site as `current_site_user, or by finding one by a specified `id`.

In this article:


The current_site_user object has the following attributes:

    user.id

    Returns the id of the current user.

    <p>Your user id is {{ current_site_user.id }}.</p>

    user.name

    Returns the name of the current user.

    <p>Hello {{ current_site_user.name }}, welcome to the course!</p>

    user.email

    Returns the email address of the current user.

    <p>We will be sending a free bonus to you at {{ current_site_user.email }} shortly!</p>

    user.muted?

    Returns a boolean, defining whether or not the user has been muted.

    {% unless current_site_user.muted? %} {% include "comment_form" %} {% endunless %}

    Contact support or access our 24/7 Live Chat:

    Contact Support Live Chat

    Need Help? Live Chat with Us.