Site logo

Archived topic

Homepage with custom elements & post in masonry style

3 replies · Started by Christian on March 25, 2021

Viewing posts 1–4 of 4

Hi there,

i use your build in masonry styled posts listing on archive pages.

Now i want to add a static homepage with some costum elements, and after these i want the newests posts to be listed in your masonry style.

is there a shortcode to the post list masonry, or something else?
How can i achieve my layout?

thx a lot

thanks a lot.

i use block element now and hook it in generate_inside_container.
a shortcode or block to the masonry post listing would be a nice feature :-)

one other question, can i wrap a Block Element inside custom html, or with a div an a class ?

IF you want to add a post list to a static page then you can use the WP Show Posts plugin - but it will be a static page.....

Block Elements are simply Hooks that have the Block editor enabled. They only output what you add inside them. So you can either use a Group Block or a GenerateBlocks Container Block to the Block Element to wrap the content.... each block can be given an Additional CSS Class in the Advanced panel.

This archived topic is closed to new replies.