Add recent posts as masonry to section on front page

I’m quite new to the world of x so I do not now if this i possible. I wish to create a startpage where one section contains 10 recent posts in masonry layout. But I havn’t found any solution for this.

I’ve found an old functions hook for adding a slider above en blog page of blog is set as startpage.

I’ve also found the recent_post shortcode and a functions hook to add an excerpt to that one. But if i want a three column layout in desktop I can only add three posts and of course without masonry.

Is it possible to fulfill my wish? How?

I’m currently using the renew stack.

Hi @Holmstrom,

Thanks for writing in.

Not really sure of your concern because you could set a masonry posts on your homepage by setting it in your Settings > Reading > homepage display.

Hope it helps.

Let us know how it goes.

Thanks.

Thank you! I may lack teh words to explain what I’m looking for. But i’ll give in another try:
I want to create a startpage using Cornerstone containing multiple sections. For exemple a section with slider, a section/row of text, another section with a contact form etc and then also a section of my recent post displayed as masonry posts.

The only element in cornerstone handling ordernary post is as far as I can se the “Classic recent posts” element which will give me the same output as the recent_posts shortode. Is there another way of adding posts to a section of a page? Like a functions hook which adds the same post loop which creates the standalone blog page?

I’ll add a screenshot of a mockup containing three sections.

  1. Slider
  2. three blue areas with icons
  3. Section with posts i a simple masonry layout.

Kindly.

Hi there,

All of these are possible to create using Cornerstone except the recent post displayed in masonry mode. Currently, the only way to display the recent post that is available out of the box X and Cornerstone is the classic Recent Post element. Adding a masonry display for post is possible but it would require custom development which goes beyond the scope of our support.

Yes, currently it is only the Classic Recent Post element, If you want to create a standalone page as a blog page, you can do so by creating a page then going to Settings > Reading then assigning that page as the post page. The post index page display is controlled by a template and if you want to override it, you will have to edit the the theme files using the child theme.

You could do all these using Cornerstone but you will have to substitute the masonry post layout with the recent post element.

Hope this helps you get started.

Cheers!

Thank you.
Recent posts can be displayed in a couple of different layouts. Is there a layout for displaying the ten latest posts with excerpt in a three column layout (desktop)? If I choose three columns I only get three posts…

Kindly

Hi @Holmstrom,

You can utilize the plugin Essential grid. https://essential.themepunch.com/

It is one of the bundle plugin of the X theme and could help you create a masonry recent posts and could customize it.

It has also a lot of effects and template that you could use.

Hope it helps.

Let us know how it goes.

Thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.