[wp-trac] [WordPress Trac] #13015: Custom post types with rewrite doesn't have loop page
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 15 14:42:01 UTC 2010
#13015: Custom post types with rewrite doesn't have loop page
-------------------------+--------------------------------------------------
Reporter: grezvany13 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Post Types | Version: 3.0
Severity: trivial | Keywords:
-------------------------+--------------------------------------------------
''note: not sure if bug, feature request or enhancement... or current
feature''
When using custom post types with rewrite, the slug itself can't be
accessed.
'''Example:'''
{{{
register_post_type('micro', array(
'label' => __('Micros'),
'capability_type' => 'post',
'hierarchical' => true
));
}}}
'''Results:''' (with permalinks: '/%postname%/')[[BR]]
www.example.com/about/ ''(works; since normal page)''[[BR]]
www.example.com/micro/post-name/ ''(works; since complete
permalink)''[[BR]]
www.example.com/micro/ ''(404; not a page, not a menu item, not a
permalink)''[[BR]]
The problem is also notable at the menu manager, since it's only possible
to add direct links to the posts like links to normal pages.
While a link to the slug only would/could be desirable (like blog
listing).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13015>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list