Post Slider variation

The Post Slider is an enhanced variation of the core “Post Template” block and can be found in the “Greyd” category of the block inserter. You can transform a regular “Post Template” variation into a “Post Slider” at any time using the block toolbar or the sidebar — and just as easily switch back.

Screenshot of the Post slider block with its block toolbar and sidebar

Unlike the default Query Loop behavior, which renders only one page of posts at a time and uses pagination links to fetch the next set, the Post Slider loads all posts across all pages in advance. Only one page is visible at a time, and the rest are placed in overflow to the left and right. Instead of reloading the page, the Post Slider uses JavaScript to slide through pages smoothly — providing a snappy and seamless experience without full reloads.

Once transformed, the block reveals several new Panels in the Sidebar to control layout, features, animations, and HTML output.

Grid Settings

Screenshot of the Grid settings panel with various configurable parameters, explained in the following paragraphs.

While core blocks already provide layout tools, this panel centralizes grid configuration with responsive breakpoints. It combines controls from the Query Loop and Post-Template blocks with additional options.

You can define how many elements appear per page, how many columns are used, and how large the gap between posts should be. Additionally, the “Initial Breakpoint” control lets you define which breakpoint should be applied on initial page load — especially useful to optimize loading behavior for mobile users.

Slider Elements

Screenshot of slider elements panel explained in following paragraph.

This section manages interactive elements like side arrows and pagination controls. Toggling an element reveals a wrench icon on the right side, clicking on the icon brings you to additional options for customizing its appearance and behavior.

Side Arrows

Screenshot of the Arrows configuration settings panel with its various options, explained in the following paragraphs.

Arrows are placed to the left and right of the slider to navigate between pages. You can configure these settings for the arrows:

Alignment: The arrows can appear at the top, center (default) or bottom of the posts. It’s also possible to have them overlap on the content, so they don’t take up extra space outside of the posts.

Appearance: Here you can choose to either use icons for the arrows, or upload images for both the previous and the next icon.

Colors: If you choose to use the default icons, you can pick a specific icon color here. The background color is always available. Both color options support the hover pseudo-class, so you can define different colors when hovering the arrows with the mouse. There’s also an option for opacity, which can be very specifically configured as it supports the Range Unit Control component.

Size: You can set a specific width for the arrows with the Range Unit Control component and change it also depending on your breakpoints.

Spaces: Here you can set the padding, the space inside the arrow elements with the Dimension Control component. You can adjust the spacings depending on your breakpoints as well.

Pagination

Screenshot of the Pagination configuration settings panel with its various options, explained in the following paragraphs.

The Post Slider comes with it’s own pagination different from the Core pagination blocks. It supports page numbers and next/previous arrows that have many configuration options.

Position: Choose between showing the pagination above (top) or below (bottom, default) of the posts.

Alignment: Choose where the pagination should show horizontally. Options are left, center (default), right or spreaded — this means the elements will be strechted across the entire width of the posts.

Overlap content: toggle this to have the pagination sit on top of the posts and not separately below it.

Page numbers: By default, the page numbers show as circle icons, either empty or selected. Under Appearance, you can choose from the following options:

  • None: completely hide the page numbers
  • Digits: use numbers or letters which you can select from a separate dropdown
  • Icons (default): choose between Icons and selecting specific icons, or circles or squares. Both circles and squares do not have any further options.
  • Upload image: Upload your own images for both the normal and the active state.

Arrows: You can choose to hide the arrows, choose icons (default) for both previous and next arrows, or upload your custom images for both options.

Colors: If you choose to use the default icons or digits, you can pick a symbol color here. It also supports the hover pseudo-class, so you can define a different color when hovering the elements with the mouse. There’s also an option for opacity, which can be very specifically configured as it supports the Range Unit Control component.

Size: You can set a specific symbol size for the elements with the Range Unit Control component and change it also depending on your breakpoints.

Spaces: Here you can set the padding, the space inside the elements with the Dimension Control component. The “In between” setting changes the space between each of the pagination icons and supports various options through the Range Unit Control component. You can adjust the spacings depending on your breakpoints as well.

Slider Animation

Screenshot of the Slider animation configuration settings panel with its various options, explained in the following paragraphs.

Since the Post Slider uses JavaScript for transitions, you can fine-tune how these animations work.

Animation Type: Choose between slide, fade, cover flow, or no animation.

Transition duration in MS (milliseconds): Change the length of the transition for slide and fade animation types.

Loop: Go back to the first slide after the last one.

Autoplay: Toggling this on gives you an additional option to set the interval in seconds that slides move forward automatically. Default is 5 seconds.

Height of the slider: Choose between adjust automatically, set the height to the highest slide or set a custom height with the Range Unit Control component.

Scroll up: Toggling this on ensures the slider scrolls into view when the page changes.

HTML Structure

Screenshot of the HTML Structure panel, explained in following paragraph

By default, the wrapper is a <div> and posts are rendered as <article>. You can switch to other semantic HTML elements like <section>, <ul>, or <nav> for wrappers and <li> or <div> for posts. This doesn’t affect functionality but improves accessibility or allows for advanced custom styling.

Filter & Sort

This panel replaces older filtering options that were part of “Slider Elements.” You should now use the Greyd Search block together with the Post Slider inside a Query Loop to apply filtering and sorting features using block-based controls. See the search documentation for more details.

Video

You are currently viewing a placeholder content from Vimeo. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information

More in this section