If you are developing WordPress website and wonder what is the difference between theme and plugin, here is a short guide:
- mostly controls the look and the layout
- adds functionality
- usually depends on active theme to define most of the look and the layout
Where to put functionality?
Themes can be changed.
If functionality should stay even upon theme change, put it into a separate plugin.