Welcome to our Wordpress theming website

Wordpress Theming

This article speaks of how to do WordPress theming.

There are basically 6 important files inside a WordPress theme folder namely:







Header.php as its name suggests will contain the codes for the header section and is important part of WordPress theming. You can also create several header.php with different names like header_inner.php etc As you might be knowing meta tags, head tag and stylesheets, fonts etc get defined in header. You can grab a copy of twentytwelve WordPress theme to understand this portion.

Footer.php as its name suggests contains codes for footer section and is another important file for WordPress theming. Copyright, terms and conditions, footer menu, designed by, company name, address, social icons and many other items come inside footer area.

WordPress theming

Single.php is the page where a single blog post appears. This is important when you are doing WordPress theming for blogs.
You can modify the contents of this page to modify how inner blog posts will appear.

Page.php as the name suggests is the page where all codes for page appears. Modifying this template would mean modifying the look and feel of all pages.

Index.php is the page which loads the first page of the WordPress theme.

Ways to modify your WordPress theme.

Wordpress theming has evolved a lot lately and hence its not only these 6 files that are important but there are several other files as well which have come up as equally important.

1. Page Templates folder is used nowadays inside Twenty Twelve Theme which stores all the page templates of a theme.

There is a specific way by which you can define a page template. One can read about this here

In this fashion instead of using default index.php one can create his own page template. This is nowadays an important part of WordPress theming.

2. Use of custom functions in Wordpress Theming: There are several custom functions which can be used nowadays to create:
a. Custom Widgets
b. Custom Post Types.

3. Use of Theme Options/Framework

4. Use of scripts in Wordpress Theming

About Sonal S Sinha

Sonal S SinhaSonal S Sinha is a passionate writer as well as WordPress and WooCommerce rockstar who loves to share insights on various topics through his engaging blog posts. He runs a successful website design and digital marketing company. With 15+ years of experience in WordPress theme development, he strives to inform and inspire readers with his thought-provoking content. He helps thousands of small and medium businesses and startups create a unique online presence. Follow Sonal S Sinha for your regular dose of knowledge and inspiration.

Do check out our free WordPress themes and WordPress themes bundle