WordPress.org

Ready to get started?Download WordPress

Forums

Custom taxonomy is not showing up anymore (1 post)

  1. coopersita
    Member
    Posted 1 year ago #

    Hi,

    I registered a custom taxonomy to a custom post type, and everything was working fine, but now (a few days later) it's disappeared (I don't see it under my 'Gallery' post type).

    I even added to my functions.php:

    function cc_add_categories_to_cpt(){
        register_taxonomy_for_object_type('keywords', 'gallery');
    }
    add_action('init','cc_add_categories_to_cpt');

    I know the taxonomy was added because I'm using Advanced Custom Fields, and when I choose taxonomy as an option, I see my custom taxonomies listed.

    Is there a way to flush, or delete my custom post type, so I could start over?

Topic Closed

This topic has been closed to new replies.

About this Topic