projects
/
WP-Plugins
/
glm-blocks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4655fc
)
Update blocks model - hierarchial
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 30 Oct 2015 15:26:20 +0000
(11:26 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 30 Oct 2015 15:26:20 +0000
(11:26 -0400)
This should allow staffords to have sets of blocks for each property.
models/block.php
patch
|
blob
|
history
diff --git
a/models/block.php
b/models/block.php
index
f27de36
..
99d8286
100644
(file)
--- a/
models/block.php
+++ b/
models/block.php
@@
-108,7
+108,7
@@
class glm_models_block
'has_archive' => false,
'menu_icon' => 'dashicons-exerpt-view',
'capability_type' => 'page',
- 'hierarchical' =>
fals
e
+ 'hierarchical' =>
tru
e
);
register_post_type(GLM_BLOCK_POST_TYPE, $args);
}