Lego2012
1/24/2017 - 9:31 PM

Remove post info and/or entry meta from post types

Remove post info and/or entry meta from post types

<?php
// Code goes in child theme’s functions.php.
// Add Category support to CPT
add_action( 'init', 'sk_add_category_portfolio' );
function sk_add_category_portfolio() {
    register_taxonomy_for_object_type( 'category', 'portfolio' );
}