Remove lib/post-types.php and lib/metaboxes.php
We now recommend placing custom post types and metaboxes within a plugin that contains all of your site specific functionality. See the latest update to https://github.com/retlehs/soil to find an example: https://github.com/retlehs/soil/tree/master/mu-plugins/base
This commit is contained in:
@@ -34,17 +34,16 @@ A basic Roots theme initially looks like this:
|
||||
├── lang
|
||||
│ └── roots.pot
|
||||
├── lib
|
||||
│ ├── actions.php
|
||||
│ ├── activation.php
|
||||
│ ├── cleanup.php
|
||||
│ ├── config.php
|
||||
│ ├── custom.php
|
||||
│ ├── h5bp-htaccess
|
||||
│ ├── htaccess.php
|
||||
│ ├── metaboxes.php
|
||||
│ ├── post-types.php
|
||||
│ ├── init.php
|
||||
│ ├── nav.php
|
||||
│ ├── scripts.php
|
||||
│ ├── template-tags.php
|
||||
│ ├── sidebar.php
|
||||
│ ├── utils.php
|
||||
│ └── widgets.php
|
||||
├── templates
|
||||
@@ -52,6 +51,7 @@ A basic Roots theme initially looks like this:
|
||||
│ ├── content.php
|
||||
│ ├── content-page.php
|
||||
│ ├── content-single.php
|
||||
│ ├── entry-meta.php
|
||||
│ ├── footer.php
|
||||
│ ├── head.php
|
||||
│ ├── header.php
|
||||
|
||||
Reference in New Issue
Block a user