Skip to content

Commit

Permalink
Update register.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed Aug 16, 2019
1 parent 86017a0 commit 218c8e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/mb-blocks/hero/register.php
Expand Up @@ -14,8 +14,8 @@
'align' => ['wide', 'full'],
],

'render_template' => get_template_directory() . '/blocks/hero/template.php', // The PHP template that renders the block.
'enqueue_style' => get_template_directory_uri() . '/blocks/hero/style.css', // CSS file for the block.
'render_template' => get_stylesheet_directory() . '/blocks/hero/template.php', // The PHP template that renders the block.
'enqueue_style' => get_stylesheet_directory_uri() . '/blocks/hero/style.css', // CSS file for the block.

// Now register the block fields.
'fields' => [
Expand Down

0 comments on commit 218c8e1

Please sign in to comment.