Wordpress topic creation structure file, wordpress topic structure

Source: Internet
Author: User

Wordpress topic creation structure file, wordpress topic structure

 

The following is the WordPress topic File hierarchy, which template file will be used when WordPress displays a specific page type? Only by understanding the following theme hierarchies can you know what files are required for your WordPress theme.

What is the following file hierarchy?

Take the home page as an example. The following two files are home. php and index. php. the WordPress program will search for these two files from your topic folder in sequence:

Home Page

Article Page:

PageCategoryTagAuthorDate pageSearch results404 (not found) PageAttachment page

For more information, see WordPress official documentation: http://codex.wordpress.org/Template_Hierarchy

 


How to Create a WordPress topic (1): basic preparation

So we came up with the idea of modifying the existing topic or creating a new topic from the ground up. But the problem arises again. How can we make it? Coding is required for Topic creation. Many netizens have never been familiar with programming, and most people are very familiar with the code. The following is a series of basic tutorials on WordPress topic production. We will teach you how to create a complete WordPress topic from start to end, hoping to help you. However, my skills are limited. This series of tutorials only give you a preliminary understanding of the theme creation process, and won't allow you to fully grasp the essence of the WordPress theme. This series of tutorials is suitable for the following users: friends who know a little bit about HTML and CSS but do not know how to write PHP code; those who write simple HTML code by themselves will design the webpage interface, if you want to know how to create a WordPress topic and learn a little about simple image processing in PHOTOSHOP or FIREWORKS, this series of tutorials is not suitable for the following users: do not plan to write code, I don't want to follow this tutorial step by step. I just want to see if my friends who don't have any web design knowledge are very familiar with the WordPress theme creation process. I don't have to read this series of tutorials, you will learn about the general steps to create a WordPress theme and how to modify a WordPress theme and how to create a theme using the extended Theme feature. The following tools must be provided: the WordPress local running environment (or online website space) has been installed with WordPress. It is equipped with various browsers, internet Explorer, sogou, Mozilla Firefox, Google Chrome, 360, is used to test whether the webpage is displayed normally, because you do not know which browser is used to view your webpage; A text editor is used to write code, such as Dreamweaver and UltraEdit. We do not recommend using notepad. For details, refer to "reasons for writing webpage code without Notepad". image processing software: list of the entire process of creating a PhotoShop Or FireworksWordPress topic: How to Create a WordPress topic (2): The topic file structure

What is the use of this file in the wordpress topic file package?

The style file is not required in the topic and may be related to topic development.

Related Article

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.