SwissUpLabs Logo

Testimonials Widgets and Blocks

There are following widget types are available:

Type Description
Swissup\Testimonials\Block\Widgets\Slider Testimonals Slider for content area powered by Slick Carousel
Swissup\Testimonials\Block\Widgets\SideList Animated testimonials list block for side panel.
Swissup\Testimonials\Block\Widgets\SideReview Review block for side panel.
Swissup\Testimonials\Block\TestimonialsList Full testimonials list to use on custom CMS page.
Swissup\Testimonials\Block\Widgets\Form Testimonial form to use on custom CMS page.

Contents

  1. Testimonials slider widget
  2. Animated list widget
  3. Review block widget
  4. Full testimonials list widget
  5. Testimonial form widget

Testimonials slider widget

Shows testimonials slider powered by Slick Carousel

Slider Widget

  • Using widget:
{{widget type="Swissup\Testimonials\Block\Widgets\Slider" items_number="6"}}
  • Using layout XML:
<referenceContainer name="content">
    <block class="Swissup\Testimonials\Block\Widgets\Slider" name="testimonials-slider">
        <arguments>
            <argument name="items_number" xsi:type="string">6</argument>
        </arguments>
    </block>
</referenceContainer>

Options:

  • items_number - number of testimonials to show.

Animated list widget

Shows rotating testimonials list in side panel.

Animated list widget

  • Using widget:
{{widget type="Swissup\Testimonials\Block\Widgets\SideList" hide_block_design="0" items_number="5" view_time="10000" anim_duration="1000"}}
  • Using layout XML:
<referenceContainer name="sidebar.main">
    <block class="Swissup\Testimonials\Block\Widgets\SideList" name="testimonials">
        <arguments>
            <argument name="hide_block_design" xsi:type="string">0</argument>
            <argument name="items_number" xsi:type="string">5</argument>
            <argument name="view_time" xsi:type="string">10000</argument>
            <argument name="anim_duration" xsi:type="string">1000</argument>
        </arguments>
    </block>
</referenceContainer>

Options:

  • hide_block_design - add/remove block title and link.
  • items_number - number of testimonials to show.
  • view_time - view time of each item.
  • anim_duration - speed of change animation.

Review block widget

Shows number of testimonials and average testimonial rating in side panel. Contains AggregateRating snippet to display store rating in search results.

Review block widget

  • Using widget:
{{widget type="Swissup\Testimonials\Block\Widgets\SideReview" hide_block_design="0"}}
  • Using layout XML:
<referenceContainer name="sidebar.main">
    <block class="Swissup\Testimonials\Block\Widgets\SideList" name="testimonials_review">
        <arguments>
            <argument name="hide_block_design" xsi:type="string">0</argument>
        </arguments>
    </block>
</referenceContainer>

Options:

  • hide_block_design - add/remove block title and link.

Full testimonials list widget

Full testimonials list to use on custom CMS pages.

  • Using widget:
{{widget type="Swissup\Testimonials\Block\TestimonialsList"}}
  • Using layout XML:
<referenceContainer name="content">
    <block class="Swissup\Testimonials\Block\TestimonialsList" name="testimonials_list"></block>
</referenceContainer>

Testimonial form widget

Testimonials submit form to use on custom CMS pages.

  • Using widget:
{{widget type="Swissup\Testimonials\Block\Widgets\Form"}}
  • Using layout XML:
<referenceContainer name="content">
    <block class="Swissup\Testimonials\Block\Widgets\Form" name="testimonials_form"></block>
</referenceContainer>
Edit this Page