Advertisement
unsquared

Section example

Jan 23rd, 2022 (edited)
775
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <h1>{{ section.settings.heading }}</h1>
  2.  
  3. <h3>{{ section.settings.question1 }}</h3>
  4. <p>{{ section.settings.answer1 }}</p>
  5.  
  6. <h3>{{ section.settings.question2 }}</h3>
  7. <p>{{ section.settings.answer2 }}</p>
  8.  
  9. <h3>{{ section.settings.question3 }}</h3>
  10. <p>{{ section.settings.answer3 }}</p>
  11.  
  12. {% schema %}
  13.   {
  14.     "name": "Custumer Questions",
  15.     "settings": [
  16.         {
  17.             "type": "text",
  18.             "label": "heading for faq",
  19.             "id": "heading"
  20.         },
  21.         {
  22.             "type": "text",
  23.             "label": "customer question 1",
  24.             "id": "question1"
  25.         },
  26.         {
  27.             "type": "textarea",
  28.             "label": "answer 1",
  29.             "id": "answer1"
  30.         },
  31.         {
  32.             "type": "text",
  33.             "label": "customer question 2",
  34.             "id": "question2"
  35.         },
  36.         {
  37.             "type": "textarea",
  38.             "label": "answer 2",
  39.             "id": "answer2"
  40.         },
  41.         {
  42.             "type": "text",
  43.             "label": "customer question 3",
  44.             "id": "question3"
  45.         },
  46.         {
  47.             "type": "textarea",
  48.             "label": "answer 3",
  49.             "id": "answer3"
  50.         }
  51.     ]
  52.   }
  53. {% endschema %}
  54.  
  55. {% stylesheet %}
  56. {% endstylesheet %}
  57.  
  58. {% javascript %}
  59. {% endjavascript %}
  60.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement