There are some WordPress tutorials that refer to functions.php files, such as previous WordPress open slow processing in functions.php add code to block Google fonts. So what is the purpose of this functions.php, today Ding-feng D to you to explain:
functions.php is a wordpress theme reserved function files, professional webmaster used to add a variety of custom function code to achieve their desired function. This file is usually in the WordPress theme, such as the new installation of the 4.1 version of the path is wp-content/themes/twentyfourteen/. If there is no PHP base webmaster, do not recommend to modify this file, some friends are modified this file site opened 500 errors, if you really need to modify, it is best to do a good job.
Some webmasters want to modify the functions.php, but some webmaster installed a variety of themes, can not judge himself is currently using that a theme folder, experienced webmaster can from the connection to judge, here Ding-feng Network A more stupid judgment method, That is to add a number after the theme file name, modify a file name to refresh the site, if the site appears blank, that is, the theme is being adopted, because the theme file name modification, WordPress can not read the topic will appear blank. AC qq:2881064157
functions.php role description in WordPress Theme folder