gizburdt / cuztom
This package is abandoned and no longer maintained.
No replacement package was suggested.
Cuztom. Easy meta data.
3.1.10
2018-01-03 15:43 UTC
Requires
- php: >=5.3.0
- dev-master
- 3.1.10
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.x-dev
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.9.x-dev
- 2.9.20
- 2.9.19
- 2.9.18
- 2.9.17
- 2.9.16
- 2.9.15
- 2.9.14
- 2.9.13
- 2.9.12
- 2.9.11
- 2.9.10
- dev-dependabot/npm_and_yarn/debug-2.6.9
- dev-dependabot/npm_and_yarn/qs-6.3.3
- dev-analysis-KoJNw3
- dev-analysis-VBgE6D
- dev-analysis-O3g4yL
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-analysis-162JVy
- dev-dependabot/npm_and_yarn/deap-1.0.1
- dev-dependabot/npm_and_yarn/bower-1.8.8
- dev-dependabot/npm_and_yarn/tar-2.2.2
- dev-dependabot/npm_and_yarn/lodash-4.17.13
- dev-develop
This package is auto-updated.
Last update: 2023-04-09 22:48:38 UTC
README
Cuztom is a Wordpress library, which can be used to easily register Post Types, Taxonomies, Meta Boxes, Term Meta, User Meta. Please comment, review, watch, fork and report bugs. Requires Wordpress 4.4+. :)
Basic usage
Add Custom Post Types
$book = register_cuztom_post_type('Book');
Add Custom Taxonomies
To add Custom Taxonomies to the newly created Post Type, simply call this method.
$book->addTaxonomy('Author');
You can also call this as a seperate function like this. The second parameter is the Post Type name.
$taxonomy = register_cuztom_taxonomy('Author', 'book');
Add Meta Boxes
Add Meta Boxes.
register_cuztom_meta_box(
'meta_box_id',
'book',
array(
'title' => 'Book Info',
'fields' => array(
'id' => '_author',
'label' => 'Author',
'description' => 'Just a little description',
'type' => 'text'
)
)
);
Documentation
See the documentation for advanced guides, changelog.