• Resolved szkin

    (@szkin)


    I’m register a new post type

    register_post_type('job', array( 'label' => 'job', 'public' => true, 'show_ui' => true, 'capability_type' => 'post', 'hierarchical' => false,
    	 'rewrite' => array('slug' => 'job'),

    when i add a new post “test” on this post type.
    The url https://xxx.com/job/test/ can display.

    But url https://xxx.com/job getting a 404!.

    I want to show all job post in https://xxx.com/job .
    what can i do. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘A problem with 'register_post_type'’ is closed to new replies.