0
나는 "movies"라는 카테고리를 가지고 있으므로 site.com/movies/content-goes-here
이 있지만 사용자 정의 게시물 유형이 카테고리와 충돌하는지 또는 somethign이 올바르게 완료되지 않았는지 확실하지 않습니다. 내가 잘못 아무것도 할나요사용자 정의 게시 유형 404s를 만드시겠습니까?
function movie_post_type() {
register_post_type('movies', array(
'labels' => array(
'name' => 'Movie Posts',
'singular_name' => 'Movie',
'add_new' => 'Add New',
'edit_item' => 'Edit ',
'new_item' => 'New movie post',
'view_item' => 'View movie post',
'search_items' => 'Search movie posts',
'not_found' => 'No movie posts found',
'not_found_in_trash' => 'No movie posts found in Trash'
),
'public' => true,
'taxonomies' => array('category', 'post_tag')
));
}
add_action('init', 'movie_post_type');
: 여기
사용자 정의 포스트 유형입니까?
감사합니다. 그다지 간단하지 않다고 생각하지 않았다. –