Can wordpress be made by myself?What kind of knowledge do you need to learn to learn WordPress?
Wordpress can be made by yourself, but the premise is that you need to master certain programming knowledge, such as HTML, CSS, PHP, and WordPress’s common functions and commonly used templates.
The first thing to learn is HTML. HTML is the framework of the front-end of the website. Learning this does not require you to write the static pages of the website yourself, but when you hold a static page in your hand, Knowing where each part of the website starts and ends is particularly important for us to apply WordPress functions. If the start tag and end tag are wrong, typography may be disordered.
Next, learn some PHP knowledge such as if statements, for loops, and while loops, because you need to use these when combining the backend and the front end.
Finally, learn the common functions and common functions of WordPress Templates and WordPress theme templates are all fixedly named. Commonly used ones include single.php, functions.php, index.php, etc. After you learn these, you can basically make a simple theme.
If you want to go deeper, learn css. If you want to do secondary development of WordPress, learn the commonly used WordPress hooks.
Tools and preparations required to create a WordPress theme
In order to test conveniently and quickly, you first need to install WordPress locally. As for how to install WordPress on a Windows system, You can refer to this blog: Install WordPress locally in WordPress.
If for some reason you cannot install WordPress locally, you can also install a beta version of WordPress on your server. At this time, you must have a server that supports WordPress host. Generally, I use LAMP host (Linux Apache MySQL PHP) host. Win IIS host may have many problems and debugging is more troublesome. As for LAMP host, from my personal experience That said, I recommend (MT) Media Temple hosting.
Code editing tools such as NotePad or Vim can be used, mainly to suit your personal usage habits.
FTP tool is used to upload themes to the server for testing. There are many tools in this area, such as Filezilla, SmartFTP, etc. If you install the software first, it will be troublesome (yes, now is the era of cloud computing, who still installs software ), you can also install Firefox's FTP extension, Fireftp, to upload files to the server directly in Firefox.
XHTML Validator and CSS Validator. You'll need these tools to verify that your theme conforms to XHTML and CSS standards, and to use it to catch any errors.
For more WordPress technical articles, please visit theWordPress Tutorialcolumn!
The above is the detailed content of Can wordpress be made by myself?. For more information, please follow other related articles on the PHP Chinese website!