Just wondering if anyone had tried using any of the structure tags available to post permalinks with custom post types... I'm moving my "listings" posts on a site I manage from a category hack under Posts to their own custom post type, but I'd like to still keep some sort of numeric date reference in the permalink structure. How difficult is that to set up?
Hey goldenapples, rewriting the permalink structure does the trick. I've posted an example on my blog: http://madpress.org/display-date-in-custom-post-type-permalinks/564/.
This process, and other issues related to custom post type permalinks, are described more fully here.
Yes, you should be able to use date based URLs by using the
Not sure exactly how custom endpoints work, but it's supported according to the codex page.
And because it's not documented, here's all the possible endpoint values(though i don't know specifically which are supported with custom post types)..
If that doesn't work correctly, maybe just setting