Feture Request: Dynamic content - Expand Current, Previous and Next post

Hi!

If we are building a Page, we can select a featured image of a specific post, for example. Previous and Next won’t do much good.

It would be awesome if we could select the post type for which we want to show the Featured image, Title, Excerpt and other things from the last post.

So for example “Show me the featured image of the latest published blog post”. Then this could expand to “Show me the featured image of the second published blog post”, and third, and so on.

Why am I telling this? Since all those nice interactions came to town, we could dump Grid plugins in many cases, because native columns could display specific order of posts from the dynamic content.

I Know that the new “Recent posts” Element is behind the corner, but if it is not too complicated to call posts by their order from selected post types, that would still be amazing and useful in many situations.

1 Like

Ok, so I think the new Post element and data sourcing will solve this for you. Here’s how it works in theory.

  • Add a Row. Inspect it and use the new Dynamic controls to setup a WordPress query. This row is now a “data source”
  • Add multiple columns in the row. In the new Dynamic controls, tell each column to consume one post of the query.
  • When you add any builder elements in that column, dynamic content will automatically be scoped to the post ID associated with the column. If you add a Title and Featured Image elements in each column, you’ll start to see your Grid appearing.
  • In this example so far, you would be styling everything independently. There will also be a way to repeat elements. For example, you could set a column to repeat any number of times, or until it reaches the end of the WordPress query.

The new Recent Posts equivalent will actually be a reconfiguration of all these settings using the Div element but you’ll simply be able to drag it in from the element library.

4 Likes