• Hello,
    I have a CPT called adverts and it has 2 taxonomies – category and location. The problem is that there are about 100 entries in location taxonomy and I need to copy the same structure to another CPT – businesses. Doing everything manually will take forever. Are there any solutions for that?

    P.S. Taxonomy structure includes parent and children hierarchy

Viewing 1 replies (of 1 total)
  • Thread Starter hraban

    (@hraban)

    I got the response on StackExchange

    When you register the taxonomies you can specify multiple post types:

    function register_my_taxonomies() {
    register_taxonomy(
                      'location',
                      array('post','page', 'adverts', 'businesses'),
Viewing 1 replies (of 1 total)
  • The topic ‘Copying over taxonomy structure from one CPT to another’ is closed to new replies.