This question already has an answer here:
If I am customizing a WordPress site, should I do that via a theme or a plugin? By customization I mean:
- Add new custom post type
- Add new fields to the Users
- Add new widgets
- Add custom permalinks
I am leaning to creating new plugins for the above, and leave the theme for styling, however I wanted to confirm if this is the right approach.