You are here

bxslider.html.twig in BxSlider 8

<div id="{{ settings.slider_id }}">
  <ul class="bxslider" style="">
    {%  for slide in slides %}
      <li>{{ slide.image }}</li>
    {%  endfor %}
  </ul>
  {%  if settings.bxslider.pagerCustom_type and settings.bxslider.pagerCustom_type == 'thumbnail_pager_method1' %}
    <div class="bxslider-pager-th bxslider-pager__method1" id="{{ settings.bxslider.pagerCustom }}">
      {% for key, item in items %}
        <a data-slide-index="{{ key }}" href="">{{ item.slide_pagerCustom }}</a>
      {%  endfor %}
    </div>
  {%  endif %}
</div>

File

templates/bxslider.html.twig
View source
  1. <div id="{{ settings.slider_id }}">
  2. <ul class="bxslider" style="">
  3. {% for slide in slides %}
  4. <li>{{ slide.image }}</li>
  5. {% endfor %}
  6. </ul>
  7. {% if settings.bxslider.pagerCustom_type and settings.bxslider.pagerCustom_type == 'thumbnail_pager_method1' %}
  8. <div class="bxslider-pager-th bxslider-pager__method1" id="{{ settings.bxslider.pagerCustom }}">
  9. {% for key, item in items %}
  10. <a data-slide-index="{{ key }}" href="">{{ item.slide_pagerCustom }}</a>
  11. {% endfor %}
  12. </div>
  13. {% endif %}
  14. </div>