functions.php role description in WordPress Theme folder

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.