Basic files for wordpress theme creation


We need two file for theme creation

1. index.php

2. style.css

With in style.css we need to define theme name, author, version etc… with in comments. Shown in below.

/*
Theme Name: Name of theme
Theme URI: location url
Author: Theme author name
Author URI: Author profile URL
Description: About theme.
Version: 1.0
*/

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s