Skip to content

Instantly share code, notes, and snippets.

@elpuas
Created December 29, 2022 14:47
Show Gist options
  • Save elpuas/3ba8f0c3d9f169baec6a99e2e423cbeb to your computer and use it in GitHub Desktop.
Save elpuas/3ba8f0c3d9f169baec6a99e2e423cbeb to your computer and use it in GitHub Desktop.
Inner Blocks Flip Cards
innerBlocks: [
[
'core/post-template',
{
lock: 'all',
className: 'lp-flip-card__card is-flex-container columns-3',
},
[
['core/group', {
className: 'lp-flip-card'
},
[
['core/columns', {
className: 'lp-flip-card__inner',
},
[
['core/column', {
className: 'lp-flip-cards__front',
},
[
['core/post-featured-image'],
]
],
['core/column', {
className: 'lp-flip-cards__back'
},
[
['core/post-title',
{
'isLink':true,
}
],
['core/post-date'],
['core/post-author'],
['core/post-excerpt'],
]
],
]
]
]
],
],
],
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment