Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm building a website that will only have one post type called Work. This post type will need a field as well. Should I just use the default post type (post) and use custom fields or hide the default post type and create a brand new one called Work? If the former, is there a way to change "Post" to "Work" in the dashboard?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

There is no need to create a new post type and remove the regular post, just rename post to work,

add_filter('gettext','rename_post_to_work');
function rename_post_to_work( $input ) {
    if( is_admin() && 'post' == $input || 'Post' == $post_type )
        return 'Work';
    return $input;
}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.