WordPress theme making tutorial (1) basic skills and preparations

Article directory [hide]

  • 1. Relatively proficient HTML and CSS code editing ability
  • 2. Basic PHP language viewing ability
  • 3. Basic image editing capabilities
  • 4. Familiar with the theme structure and common functions of WordPress
  • 5. Proficiency in using search engines such as Baidu and Google
  • 6. A local PHP environment and WordPress
  • 7. A code editor

Friends have always asked Advocates, what do you need to make a WordPress theme? Where do you start? Is there any shortcut? In fact, Chang Moe is also a novice in theme making, and he is also learning. According to Chang Moe’s own understanding, I will briefly talk about the basic skills and preparations required to make a WordPress theme.

1. Relatively proficient HTML and CSS code editing ability

Usually a web page we see is composed of basic html code. If you want to modify the display effect of the page, you must be familiar with the basic html code editing ability, which is what friends often call HTML+CSS or DIV+CSS. This is the minimum requirement. Of course, if you also know Jquery (Javascript), that would be great.

2. Basic PHP language viewing ability

WordPress is written in PHP language, so you must also master the most basic PHP language viewing capabilities and simple editing. What is viewing ability? At least you need to understand the logic of PHP code, such as common judgment logic if, while, etc. In addition, you need to learn to simply modify the content of the PHP code, such as output echo, return return, and the previous if, while, etc. In this way, you can understand and customize it easily.

For this knowledge, you can find some comparative system introductory tutorials on the Internet. Here I recommend W3School and Cao Peng Programming State

3. Basic image editing capabilities

To make a webpage is inseparable from art. To make a beautiful WordPress theme, you should master basic image editing capabilities. At least you need to be able to make a good-looking Logo, make small icons and background pictures for embellishment.

4. Familiar with the theme structure and common functions of WordPress

You should understand what files a WordPress theme usually contains, what are the functions of these files, and how they work; you should also understand the functions commonly used in WordPress themes, such as how to output titles, article content, images, and so on.

For this knowledge, please read the basic template and common functions of the theme made by WordPress theme

5. Proficiency in using search engines such as Baidu and Google

Maybe you would say, who doesn’t know Baidu or Google? But let me tell you, some people really don’t! For example, when you encounter something you don’t understand, which keyword combination should be used to search to find the answer you want more accurately. As a WordPress newbie, as a webmaster, you should have the most basic common sense: search when you don’t understand. When many people encounter problems, their first reaction is to ask people, so they add QQ groups everywhere, and then suddenly a dull common sense question pops up. In fact, as long as you Baidu or Google, the answer is flying!

Searching when you don’t understand will be the fastest way for you to learn knowledge!

6. A local PHP environment and WordPress

For convenience, it is recommended to set up a local PHP environment and then install WordPress locally. The following article can help you:

Use WampServer to build a local PHP environment, bind domain names, configure pseudo-static

USBWebserver quickly builds a local PHP environment

How to install WordPress

7. A code editor

It can be Dreamweaver, UltraEdit, NotePad++, EditPlus, Sublime Text, Vim, etc. Notepad is not recommended (prone to coding problems and weak functions)

Leave a Reply

Your email address will not be published. Required fields are marked *