Should shortdcodes be in plugin?

wordpress
themeforest
codecanyon

#1

Hi, I want to build some custom shortocdes .My question is that can I embed them in the theme file or I must build it in a plugin? thanks!!


#2

Hi there,

You must create your shortcodes inside a plugin. Otherwise your item will end up rejected.

Btw, all custom post types, metaboxes, widgets needs to be added on a plugin.

Kind regards