Template Repeater

Populates pager.js repeater template by ID.


Usage

Shortcode:

[template_repeater]

 

Parameters:

ParametersDescription
[id] (optional) ID of the underscore script template (default: templateContent)

 

Code Example:

[template_repeater id="gridContent"]
  <div class="col-sm-6 col-md-3">
    <div class="resources-item" onclick="location.href='/about-us/photos{{path}}'">
      <div class="resources-category-image">
        <img alt="{{name}}" src="{{gallery_image}}">
      </div>
      <div class="resources-description">
        <p>Published: [template_print_date template_start_time="{{start_time}}"]</p>
        <h4>{{event_title}}</h4>
      </div>
    </div>
  </div>
[/template_repeater]

0 Comments

Please sign in to leave a comment.
Have more questions? Submit a request