• Resolved oloranya

    (@oloranya)


    I have a weird issue and I can’t figure it out for the life of me. Just converted my work-in-progress studio’s website to WP 3.0 and immediately set out to take advantage of some of the new features. I had a Custom Post Type called “Artists” up and working great. At some point in my mucking around in the functions.php file, I mucked something up and now I cannot edit any existing posts of that type. If I create a new one, I can edit it, but the old ones cannot be edited. Here’s a screenshot of the list of posts of the Artists post type to better explain what I mean.

    http://nicoleglynn.com/artist.png

    When I hover over each item, my only option is to view it, I cannot edit, delete, or change the status of any posts that existed before I did whatever I did to much it up. There isn’t even a checkbox next to them for me to perform bulk actions.

    This is the relevant code in my functions.php file:

    add_action('init', 'create_artist');
    	function create_artist() {
        	$artist_args = array(
            	'label' => __('artists'),
            	'singular_label' => __('artist'),
            	'public' => true,
            	'show_ui' => true,
            	'capability_type' => 'post',
            	'hierarchical' => false,
            	'rewrite' => true,
            	'supports' => array('title', 'editor', 'thumbnail')
            );
        	register_post_type('artist',$artist_args);
    	}
  • The topic ‘Can’t Edit Custom Post Items’ is closed to new replies.