this is the footer code and i want to add section blocks in order to add main menu and customer support:
{%- if
settings.twitter_link != ‘’
or settings.facebook_link != ‘’
or settings.youtube_link != ‘’
or settings.vimeo_link != ‘’
or settings.pinterest_link != ‘’
or settings.tumblr_link != ‘’
or settings.instagram_link != ‘’
or settings.linkedin_link != ‘’
or settings.flickr_link != ‘’
or settings.houzz_link != ‘’
or settings.snapchat_link != ‘’
or settings.email_link != ‘’
-%}
{%- assign social_icons = true -%}
{%- endif -%}
{% liquid
assign locale_selector = false
assign currency_selector = false
assign show_social_icons = false
assign show_follow_on_shop = false
if section.settings.show_currency_selector and shop.enabled_currencies.size > 1
assign currency_selector = true
endif
if section.settings.show_locale_selector and shop.published_locales.size > 1
assign locale_selector = true
endif
if section.settings.footer_social_icons and social_icons
assign show_social_icons = true
endif
if shop.features.follow_on_shop? and section.settings.show_follow_on_shop
assign show_follow_on_shop = true
endif
%}
{{ 'layout.general.social' | t }}
{% endif %}{% if show_social_icons %}
{% if show_follow_on_shop %}
{% if section.settings.footer_content_left != blank %}
{{ section.settings.footer_content_left }}
{% endif %}
-
{% for link in linklists[section.settings.footer_linklist_1].links %}
- {{ link.title }}
- {{ sub_link.title }}
- {{ sub_sub_link.title }} {% endfor %} {% endfor %} {% endfor %}
{% for sub_link in link.links %}
{% for sub_sub_link in sub_link.links %}
{% if section.settings.footer_newsletter %}
{% if section.settings.richtext != blank %}
{{ section.settings.richtext }}
{% endif %}
{% render ‘newsletter’,
context: ‘footer’
first_name: section.settings.display_first_name,
last_name: section.settings.display_last_name
%}
{% endif %}
{% if section.settings.footer_content_right != blank %}
{{ section.settings.footer_content_right }}
{% endif %}
{{ section.settings.custom_html }}
© {{ "now" | date: "%Y" }} {{ shop.name | link_to: routes.root_url }}.
{{ section.settings.copyright_text | escape }}
{{ powered_by_link }}
{% if section.settings.display_payment_methods %}
{% schema %}
{
“name”: “Footer”,
“class”: “shopify-section–footer”,
“settings”: [
{
“type”: “link_list”,
“id”: “footer_linklist_1”,
“label”: “Menu”,
“info”: “This menu won’t show drop-down items”
},
{
“type”: “checkbox”,
“id”: “footer_social_icons”,
“label”: “Show social media icons”,
“default”: true
},
{
“type”: “header”,
“content”: “Language selector”,
“info”: “To add a language, go to your language settings.”
},
{
“type”: “checkbox”,
“id”: “show_locale_selector”,
“label”: “Show language selector”,
“default”: true
},
{
“type”: “header”,
“content”: “Country selector”,
“info”: “To add a country, go to your payment settings.”
},
{
“type”: “checkbox”,
“id”: “show_currency_selector”,
“label”: “Show country selector”,
“default”: true
},
{
“type”: “header”,
“content”: “Follow on Shop”,
“info”: “Display follow button for your storefront on the Shop app. Learn more”
},
{
“type”: “checkbox”,
“id”: “show_follow_on_shop”,
“label”: “Enable Follow on Shop”,
“default”: true
},
{
“type”: “header”,
“content”: “Content”
},
{
“type”: “richtext”,
“id”: “footer_content_left”,
“label”: “Left column text”
},
{
“type”: “richtext”,
“id”: “footer_content_right”,
“label”: “Right column text”
},
{
“type”: “header”,
“content”: “Newsletter”
},
{
“type”: “checkbox”,
“id”: “footer_newsletter”,
“label”: “Show newsletter”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “display_first_name”,
“label”: “Show first name”
},
{
“type”: “checkbox”,
“id”: “display_last_name”,
“label”: “Show last name”
},
{
“type”: “richtext”,
“id”: “richtext”,
“label”: “Text”,
“default”: “
Sign up to get the latest on sales, new releases and more…
”},
{
“type”: “header”,
“content”: “Sub footer”
},
{
“type”: “text”,
“id”: “copyright_text”,
“label”: “Copyright text”
},
{
“type”: “checkbox”,
“id”: “display_payment_methods”,
“label”: “Show payment method icons”,
“default”: true
},
{
“type”: “header”,
“content”: “Scripts”
},
{
“type”: “html”,
“id”: “custom_html”,
“label”: “Custom HTML”
}
]
}
{% endschema %}