• Hello,

    I was wondering if someone could help me?

    I changed the “Projects” Slug to read “Profile” by using:

    function movies_register_post_type() {

    register_post_type(
    ‘project’,
    array(
    ‘labels’ => array(
    ‘name’ => __(‘Profiles’),
    ‘singular_name’ => __(‘Profiles’)
    ),
    ‘public’ => true,
    ‘has_archive’ => true,
    ‘rewrite’ => array(
    ‘slug’ => ‘profiles’
    )
    )
    );

    }
    add_action(‘wp_loaded’, ‘movies_register_post_type’);

    I now want to reflect the same by Changing the “Project-Category” Slug :

    Reads:
    https://buzzhubgo.com/project_category/accommodation/

    Want to Read:
    https://buzzhubgo.com/profile_category/accommodation/

    Thanks so much in advance for any help provided.

    Greg

  • The topic ‘Changing Profile Category Slug’ is closed to new replies.