Slides from posts

GlidePress Query Slides fills a slider with your posts: you design one slide, and it repeats for each post the query finds. Use it for latest posts, a portfolio, products or any public post type.

Set it up

  1. Insert the Post slider variation, or add GlidePress Query Slides inside an existing slider (alongside ordinary slides, or instead of them).
  2. Design the slide inside it. By default it holds the post's featured image, title and excerpt; these are WordPress's own post blocks, so add the date, author or anything else they offer.
  3. Choose which posts in the block's sidebar:
Setting Effect
Post type Posts, pages or any public custom post type
Number of items 1 to 20
Order by Newest or oldest first, or by title (A→Z or Z→A)
Offset Skip this many posts from the start, up to 100
Categories Only posts in the chosen categories (for post types that have them)
Exclude the current post Leave out the post the slider is on (on by default)

Only published posts are shown.

Link each slide to its post

Select the slide inside Query Slides and turn on Link each slide to its post. The whole slide then opens that post.

In the editor

The editor shows the slide you are designing filled in with the first post the query finds; the others repeat it. Live preview shows the slider with every post, as visitors will see it.

More control

A developer can change the query in code, for example to show only featured posts. See PHP filters.