Another Method to Install for themes with no custom HTML section.
If you need to install the slider, but don't have the custom HTML section you have 2 options.
One, Click the "Online Store" link on the left, then Actions > Edit Code for your theme. Find the page you would like to add the reviews to (usually index.liquid, home.liquid, or even at the top of footer.liquid) and paste the code from the Instructions box on the Template page.
Two, create a new section so you can simply drag it to your theme.
- Click on the Click the "Online Store" link on the left, then Actions > Edit Code for your theme. Click on the Sections folder, then "Add a new section". Then type in social-testimonial-slider.
- This will create a new section and open the file.
- Copy the code from below and paste it in the file.
- Change the 449 in the srs_template_449 to your template ID found on the templates page in the app.
- Now save the file by click the Save button in the top right to save your newly created social-testimonial-slider.liquid file.
- Finally, you should be able to add the new section to your store by clicking the Add section button in the visual editor. The reviews may not show till you save and refresh.
<div class="srs-testimonial-container container" data-section-id="{{ section.id }}">
{% if section.settings.title != blank %}
<h2 class="title center">{{ section.settings.title}}</h2>
<div class="feature_divider"></div>
{% endif %}
<div class="srs_slider" id="srs_template_449"></div>
</div>
{% schema %}
{
"name": "Social Testimonial Slider",
"class": "srs-section",
"settings": [{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Testimonials"
}],
"presets": [
{
"name": "Social Testimonial Slider",
"category": "Text"
}
]
}
{% endschema %}
{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}
Customer support service by UserEcho