As default wordpress came with a default post type with the slug of "post"!
I wanna change this slug to another one without any headache!
I mean, for example, change the slug post to article.
How can i achieve that ?
Update
This is what i want :
function _slug(){
$args = array(
'rewrite' => array(
'slug' => 'article',
),
);
register_post_type('post',$args);
}
add_action('init', '_slug');
But, well that doesn't work!