Support » Fixing WordPress » Permalinks not able to be edited on Custom Post Types

  • I have a variety of custom post types, most using the following code or something similar to generate them:

    register_post_type('cpt_images', array(
    		'label' => 'Images',
    		'description' => '',
    		'public' => true,
    		'show_ui' => true,
    		'show_in_menu' => true,
    		'capability_type' => 'post',
    		'hierarchical' => false,
    		'rewrite' => array('slug' => 'images'),
    		'query_var' => true,
    		'has_archive' => true,
    		'supports' => array('title','editor','excerpt','custom-fields','revisions','thumbnail','author'),
    		'taxonomies' => array('category','post_tag'),
    		'labels' => array(
    			'name' => 'Images',
    			'singular_name' => 'Image',
    			'menu_name' => 'Images',
    			'add_new' => 'Add Image',
    			'add_new_item' => 'Add New Image',
    			'edit' => 'Edit',
    			'edit_item' => 'Edit Image',
    			'new_item' => 'New Image',
    			'view' => 'View Image',
    			'view_item' => 'View Image',
    			'search_items' => 'Search Images',
    			'not_found' => 'No Images Found',
    			'not_found_in_trash' => 'No Images Found in Trash',
    			'parent' => 'Parent Image')

    For some reason, I can’t edit them via the Permalinks: area just below the post title input field on the post editor screen. You know, where it typically shows the URL with the editable part highlighted yellow?

    Has anyone ever encountered this?

Viewing 1 replies (of 1 total)
  • visualrhythm


    I am having this same issue. I am using the plugin Custom Post Type UI and trying to debug.

    My guess is that it is a WP version update issue or there is a setting in the Admin that somehow blocking editing these post types.

    If anyone has a trick, please speak up.

    Meanwhile, I’ll be sure to update if I find a solution.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks not able to be edited on Custom Post Types’ is closed to new replies.