WordPress Category Templates
Using Page and Category templates, you can provide a different type of reader experience by defining the style with CSS and the features and functions with template tags.
The differences between the default WordPress Page template (page.php) and the template used for the Category template (category-design-portfolio.php) are explained in the table.
|Element||In Page Template?||In Design Portfolio Template?|
|Call to the Header template <?php
|Two-column layout||Yes. The <div id=“main“> styling is defined in CSS with a width:
|No. The <div id=“main“ class=“fullwidth“> is defined in
CSS with a width of 900px.
|Call to the post/page title <?php
|Call to the post/page content <?php
|Call to the featured image <?php
|Call to the Sidebar template <?php
|Call to the Footer template <?php
A lot of people still think of WordPress as simply a blogging platform where you can have and display a typical blog on your domain; however, you can see how you can have a blog and so much more on your website just with a few simple tweaks and adjustments to the templates that power your website theme.