Wednesday, 14 January 2015

How to Add Categories and Post Tags to WordPress Custom Post Type

Source : How to Add Categories and Post Tags to WordPress Custom Post Type

Published On : January 15, 2015 at 01:19PM

By : Agbonghama Collins



If you created a custom post type in WordPress and couldn’t find the categories and post tags taxonomies, do not fret because the solution is easy. To add categories and post tags to a custom post type, include the taxonomies argument to register_post_type(). function post_type_init() { $args = array( 'public' => true, 'label' => 'Demos', […]





For More Go to : w3guy - Diary of a Geek

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home