Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
COTEC
Tema IPHAN INRC
Commits
15a41303
Commit
15a41303
authored
4 years ago
by
Denis Vespasiano
Browse files
Options
Download
Email Patches
Plain Diff
#14 Alteração de estilo default
parent
1bd8a705
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
28 deletions
+34
-28
template-parts/block-styles.php
template-parts/block-styles.php
+34
-28
No files found.
template-parts/block-styles.php
View file @
15a41303
<?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'
);
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment