media-card-custom-gutenberg-block
Custom Gutenberg block with media card Installation Gutenberg Examples are distributed as WordPress plugin.
- Download a pre-built zip archive of the latest release.
- Read the Development instructions below if you’re interested in building your own copy of the plugin.
- Navigate to the Plugins > Add new screen in your WordPress administrative dashboard.
- Click Add New at the top of the page.
- Click Upload Plugin at the top of the page.
- Click Choose File, then find and Upload the downloaded zip file.
- After the plugin finishes installing, click Activate.
- You’re done!
- Available On Layout Section with the name of Media Card Right Video,Media Card Left Video,Media Card Left Image,Media Card Right Image, Media Card Column, Media Card three Column
const TEMPLATE = [ [ 'core/columns', {}, [
[ 'core/column', {}, [
['core/image'],
[ 'core/heading', { placeholder: 'Heading Here' } ],
[ 'core/paragraph', { placeholder: 'Enter Paragraph' } ],
[ 'core/button', { placeholder: 'Button' } ],
] ],
[ 'core/column', {}, [
['core/image'],
[ 'core/heading', { placeholder: 'Heading Here' } ],
[ 'core/paragraph', { placeholder: 'Enter Paragraph' } ],
[ 'core/button', { placeholder: 'Button' } ],
] ],
] ] ]