The appropriate answer to this confusion is functionality belongs to WordPress plugin and not the theme.Which functionality is WordPress?Functionality is a range of Operation that can be run to serve a purpose in a system.A functionality plugin is an approach to isolate what you may ordinarily put in a topic’s functions.php record, and place it in a module. It is exactly like the theme functions.php file, however, is separate from the theme thus not influenced by theme updates or fixing to the theme so you free the greater part of your functions in case you switch themes.Functionality that exists to prove the WordPress core and to address brand new feature belong in a WordPress plugin.. if you encounter any trouble. for more go