I'm not sure if this is a bug with 3.1 or if I'm just doing something
incorrectly. I'm having issues with permalinks and custom post types in 3.1 RC.
I have a custom post type in my theme, and everything works fine in 3.0.x.
However in all 3.1 RC versions so far, when I turn on Permalinks, all of my
custom post type pages and taxonomy pages come up with a 404 not found.
At first, I assumed it was just that my local dev database was just cluttered
with stuff and who knows what was going on. However, I just installed a
completely fresh installation of WordPress 3.1-RC4 on my live web server,
activated my theme, turned permalinks on, created one of the custom post type
items, and get the 404 error again when trying to view the post. I verified
that standard pages and posts come up just fine (meaning permalinks work, just
not with the custom post type).
This is how I'm registering my custom post type:
register_post_type('portfolio-item', array(
'label' => __('Portfolio Items', 'themeblvd'),
'singular_label' => __('Porfolio Item', 'themeblvd'),
'public' => true,
'show_ui' => true,
'_builtin' => false,
'capability_type' => 'page',
'hierarchical' => false,
'supports' => array('title', 'excerpt', 'editor', 'thumbnail', 'comments'),
'menu_icon' => get_bloginfo('template_url') .
'/framework/theme_options/layout/images/icon_portfolio.png'
));
Does anyone know if this is a bug? Or is something I could be doing incorrectly
to why upgrading from 3.0.x to 3.1 RC would cause this to happen?
Thanks in advance!
Jason
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers