Created an arbitrary type of posts, tell me how to bind to these post types a taxonomy of "tags", as in the standard post type of posts.
In the documentation about this write:

taxonomies (array)
An array of registered taxonomies that will be associated with this type of record, for example: category or post_tag . Can be used instead of calling the register_taxonomy_for_object_type() function. Taxonomies need to be registered using the register_taxonomy() function.

Added the taxonomies parameter with the value of array (0 => 'post_tag'), but did not give an effect
Or will you still have to register a new taxonomy?

    1 answer 1

    If you need to bind an existing taxonomy type to a custom post type, then it is sufficient to specify it when creating the type in the taxonomies parameter:

     register_post_type( 'my_type', array( 'labels' => array( 'name' => 'my_type', 'singular_name' => 'My type', 'new_item' => 'New my type', 'add_new_item' => 'Add new my type', 'add_new' => 'Add my type', ), 'public' => true, 'has_archive' => true, 'hierarchical' => true, 'rewrite' => array( 'slug' => 'my_type' ), 'capability_type' => 'post', 'supports' => array( 'title', 'editor'), 'taxonomies' => array('post_tag'), // массив ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅ΠΌΡ‹Ρ… таксономий ) ); 
    • Yes, thanks, I did everything right, only I added a taxonomy for another type of records .... And I suffered that there was no need for it ... ...... Inattention ... - pepel_xD