WordPress index file structure

Source: Internet
Author: User
Tags install wordpress wordpress version
WordPress directory file structure description & nbsp; Root Directory & nbsp; |-wp-admin |-css |-images |-Des |-js |-maint |-network |-user |-wp-content | -languages |-plugins |-themes |-upgrade |-wp-inc WordPress

Root Directory


























Root Directory


1. index. php: the wordpress core index file, that is, the blog output file.

2.license.txt: WordPress GPL license file.

3. my-hacks.php: defines the append program that the blog output previously processed. This file is not installed by default, but if it exists, it will be referenced on the management page.

4.readme.html: WordPress installation introduction.

5. wp-atom.php: output Atom information aggregation content.

6. wp-blog-header.php: according to the blog parameter definition blog page display content.

7. wp-cron.php

8. wp-comments-post.php: receive comments and add them to the database.

9. wp-commentsrss2.php: the RSS2 information aggregate used to generate log comments.

10. wp-config-sample.php: The sample configuration file connecting WordPress to the MySQL database.

11. wp-config.php: this is the configuration file that really connects WordPress to the MySQL database. This file is not included in the default installation, but is required for WordPress running. Therefore, you need to edit this file to change the settings.

12. wp-feed.php: define the feed type based on the request and return the feed request file.

13. wp-links-opml.php: generate a list of links in OPML format (added through the WordPress management menu.

14. wp-login.php: define login pages for registered users.

15. wp-mail.php: used to get a blog post submitted via email. The URL of this file is usually added to the cron task, so that cron will regularly retrieve the file and receive mail logs.

16. wp-pass.php: Review password for password-protected articles and display protected articles.

17. wp-rdf.php: generate an aggregate of RDF Information.

18. wp-register.php: allows new users to register a user name through an online form.

19. wp-rss.php: generate RSS information aggregation content.

20. wp-rss2.php: generate RSS2 information aggregation content.

21. wp-settings.php: run the routines before execution, including checking that installation is correct, using helper functions, applying user plug-ins, initializing execution timers, and more.

22. wp-trackback.php: process trackback requests.

23. wp. php: simple template for displaying blog logs. There is no magic, but some index. php content is included.

24. xmlrpc. php: process xmlrpc requests. Users can publish articles without having to use the built-in network management interface.




1. wp-admin/admin. php: core file for file management. It is used to connect to the database, integrate dynamic menu data, and display non-core control pages.

2. wp-admin/admin-db.php

3. wp-admin/admin-footer.php: defines the footer of all management consoles.

4. wp-admin/admin-functions.php: defines a variety of functions used by the management console.
5. wp-admin/admin-header. php: defines the upper part of the management console, including the menu-header.php file for menu logic.

6. wp-admin/bookmarklet. php: when using the Bookmarks function, define the pop-up page. Use the default edit-form.php file when writing logs.

7. wp-admin/categories. php: defines the category management page. Reference: Manage-Categories

8. wp-admin/cat-js.php

9. wp-admin/edit. php: defines log management on the management page. Reference: Manage-Posts

10. wp-admin/edit-comments.php: define comment management for the management page. Reference: Manage-Comments

11. wp-admin/edit-form-advanced.php: defines advanced log editing form management on the management page, including post. php. Reference: Write-Write Post-Advanced

12. wp-admin/edit-form.php: Defines simple log editing form management on the management page, 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 page edits for the management module page, including post. php and page-new.php. Reference: Write-Write Page

17. wp-admin/edit-pages.php: defines page management for the management module page. Reference: Manage-Pages

18. wp-admin/execute-pings.php

19. wp-admin/import. php

20. wp-admin/index. php: default management page. The corresponding page is displayed according to the user request.

21. wp-admin/inline-uploading.php

22. wp-admin/install-helper.php: defines 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 add. Reference: Links-Add Link

25. wp-admin/link-categories.php: link category 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 the OPML file when importing the link.

29. wp-admin/list-manipulation.js

30. wp-admin/list-manipulation.php

31. wp-admin/menu-header.php: used to display menus on the management interface.

32. wp-admin/menu. php: defines the default menu structure.

33. wp-admin/moderation. php: defines the comment review function.

34. wp-admin/options. php: used to change all settings after 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 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 to send website information to the reader's browser or other applications. Reference: Options-Reading

41. wp-admin/options-writing.php: Management Log writing interface. Reference: Options-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: management plug-in.

45. wp-admin/post. php: create a new log.

46. wp-admin/profile-update.php

47. wp-admin/profile. php: manage personal data or configurations.

48. wp-admin/setup-config.php: used to create a wp-config.php file during installation.

49. wp-admin/sidebar. php

50. wp-admin/templates. php: edit writable files on the server.

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 version upgrade functions.

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 user.

58. wp-admin/users. php: manage users.

59. wp-admin/wp-admin.css: defines the default style sheet for the management console.

60. wp-admin/xfn. js




Wp-Des Directory

1. wp-nodes des/cache. php

2. wp-nodes des/capabilities. php

3. wp-encoded des/class-IXR.php: Incutio XML-RPC Library. Including xml rpc support functions. Supported by http://scripts.incutio.com/xmlrpc.

4. wp-entries des/classes. php: includes basic classes, such as the core article extraction mechanism WP_Query and rewrite management WP_Rewrite.

5. wp-mailbox des/class-pop3.php: includes classes that support using POP mailboxes. Available for wp-mail.php.

6. wp-nodes des/class-snoopy.php: Snoopy is a PHP class, used to imitate the functions of the Web browser, it can automatically complete the Web page retrieval and form sending tasks.

7. wp-des/comment-functions.php

8. wp-des/default-filters.php

9. wp-des/feed-functions.php

10. wp-functions des/functions-compat.php: a function file in the new version of PHP to support older versions of PHP.

11. wp-entries des/functions-formatting.php: used to clean up XHTML and correctly format text with a specific character set.

12. wp-schemdes/functions-post.php: Defines functions such as managing logs in the database, querying user permissions, extracting and writing comments.

13. wp-functions des/functions. php: contains many important support functions. it is the largest file in WordPress, and the number of functions is almost twice that of the second largest file.

14. wp-uplodes/gettext. php: component of the PHP-gettext GPL Translation Library.

15. wp-shortdes/kses. php: used to render and filter HTML in logs or comments.

16. wp-shortdes/links. php: used to manage and use the WordPress link function.

17. wp-nodes des/locale. php: used to replace the default values of weeks and months.

18. wp-des/pluggable-functions.php

19. wp-des/registration-functions.php

20. wp-des/rss-functions.php

21. wp-packages des/streams. php: defines the classes for packaging file streams and response streams.

22. wp-shortdes/template-functions-author.php: contains topic functions related to log authors or reviewers.

23. wp-classes des/template-functions-category.php: contains class-related theme functions.

24. wp-included des/template-functions-comment.php: contains topic functions related to comments.

25. wp-includes/template-functions-general.php: contains regular theme functions.

26. wp-topics des/template-functions-links.php: contains theme functions related to links.

27. wp-pair des/template-functions-post.php: contains log-related theme functions.

28. wp-patterns des/template-functions.php: contains all the above "template-" files.

29. wp-des/template-loader.php

30. wp-des/vars. php: used to set Miscellaneous variables.

31. wp-nodes des/version. php: used to set the current WordPress version.

32. wp-connector des/wp-db.php: contains the function used to connect to the MySQL database.

33. wp-supported des/wp-l10n.php: provides functions that support multilingual versions.

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.