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:
@@ -50,18 +50,10 @@ This file handles the clean URL rewrites and HTML5 Boilerplate `.htaccess`. [Abo
|
||||
|
||||
This file runs the initial theme setup and defines helper constants for later use
|
||||
|
||||
### metaboxes.php
|
||||
|
||||
This file is a placeholder for you to put in custom metaboxes. We recommend the use of [Custom Metaboxes and Fields for WordPress](https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress).
|
||||
|
||||
### nav.php
|
||||
|
||||
This file contains all the custom nav modifications (for Bootstrap) and clean up.
|
||||
|
||||
### post-types.php
|
||||
|
||||
This file is a placeholder for you to put in [custom post types](http://codex.wordpress.org/Function_Reference/register_post_type) and [taxonomies](http://codex.wordpress.org/Function_Reference/register_taxonomy).
|
||||
|
||||
### scripts.php
|
||||
|
||||
This file handles all of the CSS and JavaScript.
|
||||
|
||||
@@ -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