Created
December 29, 2022 14:47
-
-
Save elpuas/3ba8f0c3d9f169baec6a99e2e423cbeb to your computer and use it in GitHub Desktop.
Inner Blocks Flip Cards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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