3 types of files in Themes

Themes consists of follwing 3 types of files :

1) Style Sheet  files

These files controls the lokk of the site

– style.css

2) Template files

These files control the way the web page generates the information from the Database to be displayed as a web page

– index.php, header.php, sidebar.php, footer.php etc.,

3) Functions file

– optional functions can be written in function.php file

Minimum files a Theme can have are :

1) style.css

2) index.php


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

%d bloggers like this: