tray

Table of contents

Renders a tray.

{% tray "footer" %}
Input

Includes trays/footer.plate.

Note that there must be a Tray with this name present in the 'Trays' tab under the Content Types dashboard.

You can access the tray object inside the theme file by calling the name of the tray as a variable, in this case footer. Trays behave the same like sections, so your tray theme file would look like this:

{% content_for footer %}
  {% render_content %}
{% endcontent_for %}

Need help?

Do you have any question which is not answered in this knowledge base? Contact us. We are here to help you.