o you want to change the add Meta Tags.
look of your WordPress site
or maybe to put something 2.footer.php
like a banner or adsense code on Similar to the header.php, this
your blog? In order to do this file is loaded everytime any page
you need to know about three or post of your blog is accessed.
important things: template files, It is used to store the HTML tags
functions and CSS. and the code for the bottom
section of your blog.
- Template Files
These files are stored in a 3.sidebar.php
directory A sidebar is a section which is
(wp-content/themes/template-name/ usually used to display site
). So if you are using "default navigation. Depending on the
theme", you need to access the theme you are using, a sidebar
files that are stored in usually provides links to
"wp-content/themes/default/" archives, pages and latest posts.
directory.
4.index.php
There are several common In fact this file is the main
WordPress template files you template file. When someone
should know: visits the homepage of your blog
site, this file will be loaded.
1.header.php Then he/she will see the contents
This file is responsible for the (not the source code) of this
appearance of the top section of file. If you want to make the
your blog. If you want to change appearance of your blog become
the header image, you have to similar to a common website,
access this file. Not only that, where there is a static
this file is also the place to description on the homepage, you
may try to put the static content depending on the given argument
in this file. (additional data).
Besides those files, a theme - CSS
usually has some other template Style Sheet is a facility to
files with different purposes. manage the format and layout of a
For example, the archives.php is website efficiently. Without
a file used to display posts you using it, changing small things
made in the past. Then the such as the font type or the
search.php is used to generate background color of all of your
search results. webpages is a daunting task where
you have to do it page by page.
- Functions But with the existence of style
A function is a blog of code to sheet, one change you make can
accomplish a specific task. In affect the whole site. You should
order to modify template files, know that in WordPress a
you don't need to master any different theme may have a
programming language. Although different css file. You also need
having a little knowledge in PHP, to know that some styles may be
you can work faster. In defined in the header.php file.
WordPress, the name of a function If you are using the "default
is usually related to its theme", you have to access the
purpose. For instance, header.php file in order to
"the_title()" is a function to change the background color or
display the title of a post and the header image of your blog,
"the_content()" is used to not the css file.
display its content. Another
example is "blog_info()" which is Finally, before you customize the
responsible for displaying the templates, it is highly
name or description of your blog, recommended to backup any files
you intend to change. If original settings.
something doesn't work properly,
you can always go back to the
About the Author:
Heris Yunora is the owner of unlimitedhostingplan.com, a website that contains information on multiple domain hosting with features such as unlimited subdomain, databases, and unlimited email accounts.
Read more articles by:
Heris Yunora
Article Source: www.iSnare.com