How to add more fields to the testimonial sliders in debut theme?

imarsaal
New Member
2 0 0

Hi. I just want to add more fields to the testimonial slider in the debut theme. Like currently, we have four fields image, text, author name, and social media profile.
But i want to add one or two more fields like author role/designation and company

Attaching a screenshot

 

debute theme testimonialdebute theme testimonial

0 Likes

@imarsaal 

Unfortunately there is no simple way to achieve this - besides adding the fields per se through the section's schema, you'll need to wire it all up with the Liquid, CSS and potentially Javascript depending of what you'd like to create. An experienced developer will be essential to get this done. If you'd like to, feel free to reach out.

Kind regards,
Diego

◦ Product page slider & thumbnails with swiping for free themes: Minimal | Debut | Brooklyn | Supply
◦ Replace apps with simple copy/paste code snippets. Examples clicking here.
0 Likes
imarsaal
New Member
2 0 0
Hi Diego,
Thanks for responding and giving me your time. Well, I'm a developer but
need your guidance if you can do that then that would be great. It can be a
small tutorial or anything else.

Kind regards,
Arslan
0 Likes

@imarsaal 

In that case, the documentation I referenced in the previous comment teaches in rich details how to add those fields. 

You'll simply need to add the additional fields you want to the section's {% schema %}'s settings' JSON and reference them in Liquid.

 

 

<p>{{ section.settings.custom-text}}</p>

{% schema %}
{
  "name": "Slideshow",
  "tag": "section",
  "class": "slideshow",
  "settings": [
    {
      "type": "text",
      "id": "custom-text",
      "label": "Custom field"
    }
  ]
}
{% endschema %}

 


Kind regards,
Diego

◦ Product page slider & thumbnails with swiping for free themes: Minimal | Debut | Brooklyn | Supply
◦ Replace apps with simple copy/paste code snippets. Examples clicking here.
0 Likes