Slider Block

The Slider Block is a flexible image carousel with optional text excerpts, used to highlight content in a clean, swipeable format.


Content Editor Fields

Disposition

  • Field Name: disposition
    • Type: Text (String)
    • Description: Controls the vertical position of the text within each slide.
    • Options:
      • content-top – displays text above the image
      • content-bottom – displays text below the image
    • Default: Empty string

Sliders (Repeater)

  • Field Name: sliders
    • Type: Repeater
    • Description: A list of slides with images and excerpts.
    • Sub-fields:
      • Slider Image:
        • Type: Image (Array return)
        • Used For: Main slide visual
      • Slider Excerpt:
        • Type: WYSIWYG / Rich Text
        • Used For: Descriptive text overlay or caption for the slide

Output Summary

  • Each slide includes:
    • An image (with alt text for accessibility)
    • An excerpt above or below the image, depending on disposition
  • Custom next/prev arrows.

Best For

  • Highlighting events, campaigns, or case studies
  • Displaying visual testimonials or quotes
  • Creating homepage hero banners with rich text overlays

Preview with image:

slider block with image

Editor preview:

slider block ACF