Commit 15a41303 authored by Denis Vespasiano's avatar Denis Vespasiano
Browse files

#14 Alteração de estilo default

parent 1bd8a705
<?php
/**
* Block Styles
*/
if ( function_exists( 'register_block_style' ) ) {
/**
* Register block styles.
*
* @since 1.0.0
*
* @return void
*/
function iphan_block_styles() {
register_block_style(
'core/heading',
array(
'name' => 'title-iphan-underscore',
'label' => 'Título IPHAN Sublinhado ',
)
if (function_exists('register_block_style')) {
/**
* Register block styles.
*
* @since 1.0.0
*
* @return void
*/
function iphan_block_styles()
{
register_block_style(
'core/heading',
array(
'name' => 'title-iphan-underscore',
'label' => 'Título IPHAN Sublinhado ',
'isDefault' => 'true',
)
);
register_block_style(
'core/column',
array(
'name' => 'column-iphan',
'label' => 'Coluna IPHAN ',
)
register_block_style(
'core/column',
array(
'name' => 'column-iphan',
'label' => 'Coluna IPHAN ',
'isDefault' => 'true',
)
);
register_block_style(
'core/group',
array(
'name' => 'column-iphan',
'label' => 'Coluna IPHAN ',
)
register_block_style(
'core/group',
array(
'name' => 'column-iphan',
'label' => 'Coluna IPHAN ',
'isDefault' => 'true',
)
);
}
}add_action( 'init', 'iphan_block_styles' );
\ No newline at end of file
}
add_action('init', 'iphan_block_styles');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment