WordPress directory file structure

Root directory
| -wp-admin
| | -css
| | -images
| | -includes
| -js
| | -maint
| -network
| | -user
| -wp-content
| | -languages
| | -plugins
| | -themes
| | -upgrade
| -wp-includes
| | -certificates
| | -css
| | -fonts
| | -ID3
| | -images
| -js
| – pomo
| -SimplePie
| -Text
| -theme-compat
Root directory
1.index.php: wordpress core index file, that is, the blog output file.
2.license.txt: WordPress GPL license file.
3.my-hacks.php: Defines the appending process that was processed before the blog was output. The default installation does not have this file, but if it exists, it will be referenced by the admin page.
4.readme.html: WordPress Installation Introduction.
5.wp-atom.php: Outputs the Atom information aggregated content.
6.wp-blog-header.php: According to the blog parameters to define the blog page display content.
8.wp-comments-post.php: Receive comments and add them to the database.
9.wp-commentsrss2.php: RSS2 information aggregated content used to generate log comments.
10.wp-config-sample.php: An example configuration file that connects WordPress to a MySQL database.
11.wp-config.php: This is really the WordPress connection to the MySQL database configuration file. The default installation does not include it, but since WordPress runs requires this file, the user needs to edit the file to change the settings.
12.wp-feed.php: Defines the feed type according to the request and returns the feed request file.
13.wp-links-opml.php: Generates a list of OPML-formatted links (added via the WordPress Administration menu).
14.wp-login.php: Defines the login page for registered users.
15.wp-mail.php: used to get through the mail submitted by the blog. The URL of this file is usually added to the cron task, so cron will periodically retrieve the file and receive the mail log.
16.wp-pass.php: Review password protected by password and display protected article.
17.wp-rdf.php: Generates RDF information aggregated content.
18.wp-register.php: Allows new users to register user names via online forms.
19.wp-rss.php: Generates RSS feed aggregated content.
20.wp-rss2.php: Generates RSS2 information aggregated content.
21.wp-settings.php: Run the routine before execution, including checking whether the installation is correct, using helper functions, applying user plugins, initializing timers, and so on.
22.wp-trackback.php: Handles trackback requests.
23.wp.php: A simple template that displays a blog post. And nothing magical, but included part of the index.php content.
24.xmlrpc.php: Handles xmlrpc requests. Users do not need to use the built-in network management interface to publish articles.
1.wp-admin / admin.php: Manage the core files of the file. Used to connect to the database, the integration of dynamic menu data, display non-core control pages.
2.wp-admin / admin-db.php
3.wp-admin / admin-footer.php: Defines the footer for all administrative consoles.
4.wp-admin / admin-functions.php: defines a variety of functions used by the Administration Console.
5.wp-admin / admin- header.php: Defines the top half of the admin console, including the menu-header.php file for menu logic.
6.wp-admin / bookmarklet.php: Defines the pop-up page when using the bookmark function. Write the log using the default edit-form.php file.
7.wp-admin / categories.php: Defines the category management of the management page. Reference: Manage – Categories
8.wp-admin / cat-js.php
9.wp-admin / edit.php: Defines the log management of the management page. Reference: Manage – Posts
10.wp-admin / edit-comments.php: Defines the management of the comment management page. Reference: Manage – Comments
11.wp-admin / edit-form-advanced.php: Defines the management of the administrative pages of the advanced management of the form, including post.php. Reference: Write – Write Post – Advanced
12.wp-admin / edit-form.php: Defines the log of the managed pages Simple edit form management, including post.php. Reference: Write – Write Post
13.wp-admin / edit-form-comment.php: Edit specific log comments.
14.wp-admin / edit-form-ajax-cat.php
15.wp-admin / edit-link-form.php
16.wp-admin / edit-page-form.php: Defines the page editing of the management module pages, including post.php and page-new.php. Reference: Write – Write Page
17.wp-admin / edit-pages.php: Defines the page management for the management module pages. Reference: Manage – Pages
18.wp-admin / execute-pings.php
19.wp-admin / import.php
20.wp-admin / index.php: default management page. Display the corresponding page according to the user request.
21.wp-admin / inline-uploading.php
22.wp-admin / install-helper.php: Defines the database maintenance functions, including popular-in-plugins maybe_create_table () and maybe_add_column ().
23.wp-admin / install.php: Install WordPress.
24.wp-admin / link-add.php: link to add. Reference: Links – Add Link
25.wp-admin / link-categories.php: link classification management. Reference: Links – Link Categories
26.wp-admin / link-import.php: import link. Reference: Links – Import Links
27.wp-admin / link-manager.php: link management. Reference: Links – Manage Links
28.wp-admin / link-parse-opml.ph: Used to parse OPML files when importing links.
29.wp-admin / list-manipulation.js
30.wp-admin / list-manipulation.php
31.wp-admin / menu-header.php: Used to display the menu in the admin interface.
32.wp-admin / menu.php: Defines the default administrative menu structure.
33.wp-admin / moderation.php: defines the comment review function.
34.wp-admin / options.php: used to change all settings after the upgrade.
35.wp-admin / options-discussion.php: Manage comments and trackback related options. Reference: Options – Discussion
36.wp-admin / options-general.php: Manage basic configuration options. Reference: Options – General
37.wp-admin / options-head.php
38.wp-admin / options-misc.php: set the file upload, link tracking, custom “hacks” and other related options. Reference: Options – Miscellaneous
39.wp-admin / options-permalink.php: Manage permanent link options. Reference: Options – Permalinks
40.wp-admin / options-reading.php: Sets how the site information is sent to the reader’s browser or other application. Reference: Options – Reading
41.wp-admin / options-writing.php: Manage log compose interface. Reference: Writing – Writing
42.wp-admin / page-new.php: Create a new page.
43.wp-admin / plugin-editor.php: Edit the plug-in file.
44.wp-admin / plugins.php: Manage plugins.
45.wp-admin / post.php: Create a new log.
46.wp-admin / profile-update.php
47.wp-admin / profile.php: Manage your profile or configuration.
48.wp-admin / setup-config.php: used to create the wp-config.php file.
49.wp-admin / sidebar.php
50.wp-admin / templates.php: Edit the server writable file.
51.wp-admin / theme-editor.php: Edit files in a specific topic.
52.wp-admin / themes.php: Manage topics.
53.wp-admin / update-links.php
54.wp-admin / upgrade-functions.php: defines the version upgrade function.
55.wp-admin / upgrade-schema.php: Defines the default table structure and options used in the upgrade.
56.wp-admin / upgrade.php: version upgrade.
57.wp-admin / user-edit.php: Edit the user.
58.wp-admin / users.php: Manage users.
59.wp-admin / wp-admin.css: Defines the default style sheet for the Administration Console.
60.wp-admin / xfn.js
wp-includes directory
1.wp-includes / cache.php
2.wp-includes / capabilities.php
3.wp-includes / class-IXR.php: Incutio XML-RPC library. Including XML RPC support functions. Powered by http://scripts.incutio.com/xmlrpc/.
4.wp-includes / classes.php: includes the basic class, such as the core article extraction mechanism WP_Query and rewrite the management WP_Rewrite.
5.wp-includes / class-pop3.php: Includes classes that support the use of POP mailboxes. Available for wp-mail.php.
6.wp-includes / class-snoopy.php: Snoopy is a PHP class that is used to mimic the functionality of a Web browser that automatically completes the task of retrieving web pages and sending forms.
7.wp-includes / comment-functions.php
8.wp-includes / default-filters.php
9.wp-includes / feed-functions.php
10.wp-includes / functions-compat.php: the new version of PHP used to support the old version of the PHP function file.
11.wp-includes / functions-formatting.php: Used to clean up XHTML and format text correctly with a specific character set.
12.wp-includes / functions-post.php: Defines functions such as managing logs in the database, querying user rights, extracting and writing comments.

13.wp-includes / functions.php: contains many important support functions, it is WordPress the largest file, the function is almost twice the number of the second largest file.
14.wp-includes / gettext.php: PHP-gettext GPL translator library component.
15.wp-includes / kses.php: used to render and filter the HTML in the log or comment.
16.wp-includes / links.php: used to manage and use the WordPress link function.
17.wp-includes / locale.php: used to replace the default week and month values.
18.wp-includes / pluggable-functions.php
19.wp-includes / registration-functions.php
20.wp-includes / rss-functions.php
21.wp-includes / streams.php: defines the class of wrapper files and character streams.
22.wp-includes / template-functions-author.php: Contains topic functions related to the author or commenter of the log.
23.wp-includes / template-functions-category.php: Contains category-related topic functions.
24.wp-includes / template-functions-comment.php: Contains topic functions related to comments.
25.wp-includes / template-functions-general.php: Contains regular theme functions.
26.wp-includes / template-functions-links.php: Contains the topic-related functions associated with the link.
27.wp-includes / template-functions-post.php: Contains the topic related to the log function.
28.wp-includes / template-functions.php: Contains all of the above “template-” files.
29.wp-includes / template-loader.php
30.wp-includes / vars.php: used to set miscellaneous variables.
31.wp-includes / version.php: used to set the current version of WordPress.
32.wp-includes / wp-db.php: Contains the function used to connect to the MySQL database.
33.wp-includes / wp-l10n.php: Provides functions that support multilingual versions.