Hi Scribu,
That's not entirely correct. Assuming I have my category slug set up
as "c" in the Wordpress permalinks settings, then visiting domain.com/
portfolio/ should return 404, however domain.com/c/portfolio/ should
use archive.php and return a list of posts.
As there is no option in permalinks to set a custom post-type slug, I
have no idea if there's an alternative - do let me know!
Many thanks
John
On 28 Feb 2010, at 10:57, scribu wrote:
On Sun, Feb 28, 2010 at 6:52 AM, John O'Nolan <[email protected]> wrote:
The other thing is the permalinks, say I'm making a design
portfolio and I
add a custom post type of "portfolio", and then add "my client" to
it. With
pretty permalinks turned on (to /%name%/) the url becomes:
domain.com/portfolio/my-client/
however,
domain.com/portfolio/
returns a 404.
Should this not default to category type functionality, acting as a
parent
page for all posts inside the "portfolio" custom post type?
This is the same behaviour as going to domain.com/category where you
also
get a 404, unless you create a static page with the slug /category.
--
http://scribu.net
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers