Find the following code in vamtam/classes/framework.php:

register_post_type('portfolio', array(
    'labels' => array(
        'name' => _x('Portfolios', 'post type general name', 'wpv' ),
        'singular_name' => _x('Portfolio', 'post type singular name', 'wpv' ),
        'add_new' => _x('Add New', 'portfolio', 'wpv' ),
        'add_new_item' => __('Add New Portfolio', 'wpv' ),
        'edit_item' => __('Edit Portfolio', 'wpv' ),
        'new_item' => __('New Portfolio', 'wpv' ),
        'view_item' => __('View Portfolio', 'wpv' ),
        'search_items' => __('Search Portfolios', 'wpv' ),
        'not_found' =>  __('No portfolios found', 'wpv' ),
        'not_found_in_trash' => __('No portfolios found in Trash', 'wpv' ),
        'parent_item_colon' => '',
    ),
    'singular_label' => __('portfolio', 'wpv' ),
    'public' => true,
    'exclude_from_search' => false,
    'show_ui' => true,
    'capability_type' => 'post',
    'hierarchical' => false,
    'rewrite' => array( 'with_front' => false ),
    'query_var' => false,
    'menu_position' => 21,
    'supports' => array(
        'title',
        'editor',
        'excerpt',
        'thumbnail',
        'comments',
        'page-attributes'
    )
));

Change the bold line to the following:

'rewrite' => array( 'with_front' => false, 'slug' => 'newslug' ),

Remember to keep newslug lowercase and without any whitespace.


After changing the slug as described, you have to flush the WP rewrite rules cache. You can do this easily by going to Settings/Permalinks. There is no need to change anything there, just opening this page will do it.