Customizing Default “Post” Post Type
-
I’ve historically created an “Articles” custom post type, which is essentially a very stripped down version of the default “post” post type (removed tags, comments, etc). I’ve done this for two primary reasons:
-The URL being example.com/articles/my-article
-Removing extensive functionality and clutter I’m not using (I don’t need / want category / tag archives, tags in general, revisions, trackbacks, etc)While the removal of these features may sound odd to many, just roll with me (or if you’d consider yourself an advanced user, try to sway me). That being said, rather than create a new Custom Post type of “Articles” (and hide the original “post” post type), I’d rather edit the existing “post” post type to strip it down.
I’ve read some older articles mentioning use of register_post_type_args, using filters, etc, but none of it seemed up to date or conclusive on if those work on default types, and not just custom post types. If anyone could point me in the right direction on how to redefine the default post type (remove the above), add a rewrite slug, and more, I’d appreciate it!
The topic ‘Customizing Default “Post” Post Type’ is closed to new replies.