• Home
  • Download Free eBook
  • OC Archives
  • Tools I Use
  • Webmaster Forum
  • Write For Us
Logo

  • Discounts
  • SEO Central
    • All other Search
    • Bing
    • Google Central
    • Yahoo
  • Social Networks
    • Digg
    • facebook
    • Squidoo
    • Technorati
    • Twitter
  • Web Design & Development
    • Ajax
    • Coding
    • Database
    • Graphic Design
    • Joomla
    • jQuery
    • OScommerce
    • Photoshop
  • Webmaster Central
    • Author's Corner
    • Case Studies
    • Content Writing
    • Featured Interviews
    • Guest Posts
    • Make Money Online
    • OC Promos
    • Premium Reviews
    • Video Tutorials
    • Web Hosting
    • Web News
    • Web Security
  • Wordpress

All WordPress Theme Files Explained! : How to edit from admin

Posted by Joshu on Feb 26, 2010 in Webmaster Central | 6 comments

About this Article: All WordPress Theme Files Explained! What are the files in a wordpress template, How to edit from admin side, Where and what to edit in a wordpress theme. This article is purely aimed to help the wordpress newbie on how to edit a wordpress and which all theme files to edit in a wordpress theme and how to do this from your admin section. The PROs may toggle to the next article as you might already be knowing what i am talking about right now.

What all files to look for and for what all. Here is a screenshot that could give you a better picture of what i am referring to. On the right hand side, the drop down to select the template or theme you want to edit now, select the apt template and below that you would find the template files and make sure You BACKUP Before you edit any file.

Each theme would have different set of files additional, But there is a set of common theme files that are a must. I have explained all the possible files that are found in a theme usually and editing that would change what.

Templates

* 404 Template (404.php)
* Comments (comments.php)
* Footer (footer.php)
* Header (header.php)
* Main Index Template (index.php)
* Page Template (page.php)
* Popup Comments (comments-popup.php)
* Search Form (searchform.php)
* Sidebar (sidebar.php)
* Single Post (single.php)
* Theme Functions (functions.php)
* about.php (about.php)
* ads.php (ads.php)
* comments1.php (comments1.php)
* defaulthome.php (defaulthome.php)
* defaultindex.php (defaultindex.php)
* home.php (home.php)
* tabs.php (tabs.php)

Styles

* Stylesheet (style.css)
* ie6style.css (ie6style.css)
* ie8style.css (ie8style.css)
* iestyle.css (iestyle.css)
* styleBlue.css (styleBlue.css)
* styleGreen.css (styleGreen.css)
* stylePink.css (stylePink.css)
* stylePurple.css (stylePurple.css)
* styleRed.css

Files  Explained:

404 Template (404.php) : Basically to change how your 404 not found error would look like or display what message

Comments (comments.php): Contains the code to the comment section partially and rest would be found in Comments1.php or comments2.php, Its not necessary that you would have 3 comments.php files, some themes have only one. These contains info about form inputs on adding comments, avatars etc.

Footer (footer.php): Contains the code for the footer, backup and edit them on how to see your footer changes

Header (header.php): Same goes to the header, edit or add HTML or php to header to play with the head of the Template

Sidebar (sidebar.php) : This contains the code for the Sidebar, One of the most important part that you would want to edit apart from the widgets, again back up before editing.

Single Post (single.php) or Post.php : A very important template file that needs to be edited at times to add some newsletter snippet, Adsense code etc to the post. This is the part of the template that repeats itself in each and every post, simply the code for the post body for each and every post of your blog.

Theme Functions.php: This contains the functions used in a template, sometimes in order to add new features to WordPress, Like for example, show twitter avatars instead of WordPress avatar in comments, In this case we require a new function to be added, add it here.

Hope i have covered all important files, let me know if i missed any :) Ohhh i forgot, i almost missed it lol : The stile functions, its usually  styleIE6.php and style.css. The file you need to edit is Style.css, basically it talks about the basic colors, fonts , sizes used at various parts of the wordpress blog. Some themes have number of style sheets like style blue, style red etc..thats when the theme gives an option in the admin panel to change the color from admin side.

Let me know your thoughts on the article.

[ratings]


Related Articles You Are Probably Interested In:

  1. How to upload a theme to wordpress: Detailed Tutorial
  2. Highlight admin comments in wordpress with different colors
  3. Tutorials on How to Design WordPress Themes
  4. Thesis WordPress Theme Review
  5. How to change WordPress Theme folder Name
  6. How to Import Large SQL Database files using phpMyadmin
  7. WordPress admin login – blank white screen
  8. Is Thesis WordPress theme over Hyped

6 Responses to “All WordPress Theme Files Explained! : How to edit from admin”

  1. Merrick Before Grain says:
    May 27, 2010 at 1:52 pm

    It has provided good information to me. I can use.

    Reply
  2. Dogs says:
    June 4, 2010 at 5:22 pm

    This is a fantastic site. But I think some of more information is required here.

    Reply
  3. Greg says:
    December 11, 2010 at 2:29 am

    Hi, maybe you could help me. I’m trying to design a blog, and I am finding that the wordpress themes are a bit confusing. I’d like to have a left sidebar to display hperlinks, and I’d also like widgets preferably on a right sidebar. I’ve tried several themes and haven’t found one that will do both. One or two have the left and right sidebars as features but both don’t seem to work together. One theme I’ve tried is the Twenty Ten theme.
    Thanks

    Reply
    • admin says:
      December 11, 2010 at 9:18 pm

      Hey Greg,

      The wordpress is best known for its simplicity! so i bet – once you get and overview and get to know more on the wordpress themes and its functionality it would be easy for you to set up your wordpress blog. there are tonnes of free themes that you could try out installing and playing with the links, blogroll and widgets. check out this link http://orangecopper.com/blog/best-wordpress-themes-of-2011 for more wordpress themes. If you need a skype walkthrough on how to use wordpress i would be happy to give you a jumpstart the way i give to most of my clients. feel free to contact me at joshuthomas at gmail.com

      cheers
      Josh

      Reply
  4. SLT-A77 says:
    November 17, 2011 at 1:12 am

    Ciao, davvero interessante, grazie

    Reply
  5. SLT-A65 says:
    November 18, 2011 at 4:37 am

    Good day! This post couldn’t be written any better! Reading this post reminds me of my good old room mate! He always kept chatting about this. I will forward this write-up to him. Fairly certain he will have a good read. Many thanks for sharing!

    Reply

Trackbacks/Pingbacks

  1. How to check the health of my wordpress blog. | Webdesign Blog - [...] Also read my previous articles on various wordpress Health and performance related topics below. All WordPress Theme Files Explained! ...

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

CAPTCHA Image
Refresh Image

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 Subscribe to OC Blog! 

Subscribe to OC Blog

Stay tuned to the Latest updates and tips in the Webmaster World




Most Popular Posts

  • List of High PR do follow blogs (Verified) (305)
  • Next Google Page rank - PR update 2011 (278)
  • Market Samurai Discount – Save 80 USD! (234)
  • 300 High paying adsense keywords 2011 (104)
  • List of High PR Dofollow Directories 2011 (88)
  • 22 OpenSource Forum Scripts - Details and Download: update list (82)
  • Best Classifieds Ads Scripts (75)
  • How to modify the Wordpress comment Form (65)
  • Review of the List of the Best Social Networking websites 2011 (61)
  • List of 200 Highest paying Adsense Keywords : Updated list 2010 (44)
  • 10 Best Premium Wordpress Plugins (43)
  • Featured Interviews: Harsh Agarwal from ShoutMeLoud.com (43)
  • Elegant Themes Discount 2011 (Save 10 USD) (42)
  • List of all Top Social Networking websites as on 2010 (38)
  • One of the Biggest SEO Secret for Linkbuilding (37)
  • 14 Best Ajax Scripts to use for any website (37)
  • Download KeywordLuv WordPress Plugin (37)
  • How i earn Big Bucks from my blog Doing Nothing! (37)
  • Fatal Error on WordPress 3.3 Version Upgrade (37)
  • 30 Best wordpress Plugins required for Any WP Blog (36)
About OrangeCopper Network 

Who am I? Am Joshu. I enjoy blogging about webmaster related stuff and technology. Xtras - I Design, Develop, Blog and Support the Open Source. Passions: I Love Music, Photography, Design, Development, Cycling, Travelling and sleeping (Favorite)

What i could do for you: Ive been working on various shades of the web for over 11 years now and learned the hard way, Now i could help you learn it the Easy way. OrangeCopper is a Webmaster community that i started in the year 2002 and is now a platform for webmasters around the world. Thankyou for spending your time to visit Blog. I would love to get connected every webmaster reading this, follow me on Twitter and i would auto follow you. Thanks again, Happy Surfing!

Interested to Learn Professional Blogging? Check out my NapIncome Blog where I share all the secrets to build a professional blog and earn money from ProBlogging.

Please Subscribe to the Blog Newsletter to get regular weekly update
Twitter: http://www.twitter.com/orangecopper | Subscribe to feeds : http://feeds.feedburner.com/orangecopper/ilRl

Other OrangeCopper Network Websites

ConnectRing Web Directory | UsedMobiles.in | UsedGadgets.in | NapIncome Strategy Blog | HippieMonk Technology Blog | All Good WordPress Themes | PixelTribes Photography Blog | Yscream Web Hosting

Favorite Articles

  • List Of Best Classifieds Ads Scripts Ever (Free & premium)
  • How to triple your Blog Subscription rates / opt-ins – It Worked for me!
  • You can certainly spend Half a Dollar For creating a GREAT Blog
  • How i earn Big Bucks from my blog Doing Nothing!
  • 35 best free wordpress themes for download: updated list 2010
  • 22 Web 2.0 Colors and their codes in HTML
  • 48+ web Design Related Twitter Accounts To Follow
  • Make a web 2 icon with Photoshop in easy 8 steps
  • List of 62 Free Press Release websites

    Most Rated Articles

  • Compare WordPress – Joomla – Drupal and their features
  • 7 Excellent jQuery menus and jQuery examples and downloads
  • 5 Most Important To Do s for a New Blog Launch
  • How to colorize with adobe Photoshop
  • Free Magento Themes / Templates Download: updated list
  • How to install wordpress step by step tutorial
  • List of 200 Highest paying Adsense Keywords : Updated list 2010
  • How to display Exit Splash or Exit message for website
  • How to promote your old Blog posts