Adding Functions to a Plugin vs Theme While the easiest and most common way of adding simple snippets to extend a WordPress website's functionality is pasting them into the functions.php file of the active theme, any function can be added by creating and installing a simple plugin. There are two



