August 28, 2012

August 28, 2012

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 "my_theme" within \wordpress\wp-content\themes. It means we will create a theme named "my_theme".
  2. Create a file named "index.php" within \wordpress\wp-content\themes\my_theme.
  3. Create a file named "style.css" within \wordpress\wp-content\themes\my_theme.
  4. Open style.css use your text editor. Add some description like Theme name, Theme URI, Author, Author URL ... etc
  5. Now, activate your theme.

Don't worry if you just get blank page.


Post a Comment