Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
MSF
/
msf-climate-hub
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0f12cb48
authored
2023-11-23 13:12:48 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
un used blocks
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
f575f294
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
wp-content/themes/msf-child/inc/blocks.php
wp-content/themes/msf-child/inc/blocks.php
View file @
0f12cb4
...
...
@@ -18,26 +18,26 @@ if( function_exists('acf_add_options_page') ) {
function
my_acf_init_block_types
()
{
acf_register_block_type
(
array
(
'title'
=>
__
(
'Promo Area'
,
'client_textdomain'
),
'name'
=>
'msf-promo-area'
,
'render_template'
=>
'blocks/promo-area/promo-area.php'
,
'mode'
=>
'edit'
));
acf_register_block_type
(
array
(
'title'
=>
__
(
'Project Lead'
,
'client_textdomain'
),
'name'
=>
'msf-project-lead'
,
'render_template'
=>
'blocks/project-lead/project-lead.php'
,
'mode'
=>
'edit'
));
//
acf_register_block_type( array(
//
'title' => __( 'Promo Area', 'client_textdomain' ),
//
'name' => 'msf-promo-area',
//
'render_template' => 'blocks/promo-area/promo-area.php',
//
'mode' => 'edit'
//
));
//
acf_register_block_type( array(
//
'title' => __( 'Project Lead', 'client_textdomain' ),
//
'name' => 'msf-project-lead',
//
'render_template' => 'blocks/project-lead/project-lead.php',
//
'mode' => 'edit'
//
));
acf_register_block
(
array
(
'title'
=>
__
(
'Call Out Block'
),
'description'
=>
__
(
'A custom block for Call Out Block items.'
),
'name'
=>
'call-out-block'
,
'render_template'
=>
'blocks/call-out-block/call-out-block.php'
,
'mode'
=>
'edit'
,
));
//
acf_register_block(array(
//
'title' => __('Call Out Block'),
//
'description' => __('A custom block for Call Out Block items.'),
//
'name' => 'call-out-block',
//
'render_template' => 'blocks/call-out-block/call-out-block.php',
//
'mode' => 'edit',
//
));
acf_register_block_type
(
array
(
...
...
Please
register
or
sign in
to post a comment