Support » Plugin: Genesis Portfolio Pro » Change portfolio slug?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can probably add something like this in your functions.php:

    $args = get_post_type_object("portfolio");
    $args->rewrite["slug"] = "your_new_slug";
    register_post_type($args->name, $args);

    Thanks mortensh! I’ve confirmed the above code does work.

    Just know that on the backend the word Portfolio will still exist everywhere. I know there is a way to update that in the functions file as well, but uncertain of the specific code if anyone is able to provide that for anyone who wants it to read something else.

    Thank you, mortensh. That’s exactly what I needed!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change portfolio slug?’ is closed to new replies.