Tự xây dựng Wordpress - Theme: Building Your Own Theme

Wordpress theme step by step tutorial - part 1: Although thousands themes available, You may want to create your own theme. Make something different from others. You can customize from exist theme or build from zero. In this post, we will learn about wordpress theme from zero. from blank page. Let's do it.

Ok, in this post, we create blank page. We just want to look very basic file structure at wordpress theme. We don't write any code. Don't worry, next post, we begin to write some lines code.

  1. Create a folder named "crown" within \wordpress\wp-content\themes. It means we will create a theme named "crown". Don't ask why I choose this name. Just catch what slide from my mind.
  2. Create a file named "index.php" within \wordpress\wp-content\themes\crown.
  3. Create a file named "style.css" within \wordpress\wp-content\themes\crown.

    Tự xây dựng Wordpress - Theme: Building Your Own Theme

  4. Open style.css use your text editor. Add some description like following image:

    wordpress theme - describe about this theme

  5. Now, activate your theme.

Don't worry if you just get blank page.

wordpress theme - activate new theme