Regarding Custom Post Types and Shortcodes


I have question regarding adding custom post types and shortcodes.
Can I include custom shortcodes and cusotm post type files in wordpress theme itself? If I include the files in the theme itself, will my theme be accepted?

Thank you.

No. You need to create a plugin for that.