I’ve made a custom section for some general settings;
- quality mark (webwinkelkeur)
- images
- rich text
I would like to use this information in the header and footer, but don’t know if it’s possible. Before I added these settings in the existing header / footer sections, but for a better overview I thought it would be nice to make a general section.
I’ve made a seperate liquid file so I would get a separate section in the theme editor;
{% schema %}
{
"name": "Roca Online",
"class": "section-roca",
"settings": [
{
"type": "header",
"content": "t:sections.roca-online.settings.header__1.content",
"info": "t:sections.roca-online.settings.header__1.info"
},
{
"type": "url",
"id": "webwinkelkeur_url",
"label": "t:sections.roca-online.settings.title.webwinkel_url_label"
},
{
"type": "text",
"id": "webwinkelkeur_id",
"label": "t:sections.roca-online.settings.title.webwinkel_id_label"
},
{
"type": "image_picker",
"id": "webwinkelkeur_img",
"label": "t:sections.roca-online.settings.title.webwinkel_img_label"
},
{
"type": "header",
"content": "t:sections.roca-online.settings.header__2.content",
"info": "t:sections.roca-online.settings.header__2.info"
},
{
"type": "image_picker",
"id": "subfooter_img",
"label": "t:sections.roca-online.settings.title.subfooter_img_label"
},
{
"type": "richtext",
"id": "subfooter_text",
"label": "t:sections.roca-online.settings.title.subfooter_text_label"
},
{
"type": "image_picker",
"id": "footer_img",
"label": "t:sections.roca-online.settings.title.footer_img_label"
},
{
"type": "richtext",
"id": "footer_text",
"label": "t:sections.roca-online.settings.title.footer_text_label"
}
]
}
{% endschema %}
In the admin I’m able to fill in all data, but in the header.liquid and footer.liquid this data isn’t available. Is this an option, or is the only solution to add the custom fields / settings in the existing sections?
