Viewing 1 replies (of 1 total)
  • If I understand correctly, your custom post type Portfolio does not allow you to assign categories.

    Try adding this to your functions.php (be sure that portfolio is the correct post type):

    add_action('init', 'demo_add_default_boxes');
    
        function demo_add_default_boxes() {
        register_taxonomy_for_object_type('category', 'portfolio');
        register_taxonomy_for_object_type('post_tag', 'portfolio');
        }

    The code above was taken from this article:

    http://www.deluxeblogtips.com/2010/07/custom-post-type-with-categories-post.html

Viewing 1 replies (of 1 total)

The topic ‘sort custom posts by catagory’ is closed to new replies.