WordPress comes with several default themes, but if you want to customize one of these themes or create your own, you’ll need to know how the WordPress template hierarchy works. This beginners guide to wordpress template hierarchy cheat sheet will show you how to use the WordPress template to make any changes you want to your website using the Page and Category templates.
The Main Section, also known as a Header or Top Section is at most any widgetized area that represents your site’s homepage and can be used as a navigation menu. You can have up to three different primary headers on your site. The primary headers are a good place for bold text with links or logos, or even a large photo if you have one that you want to showcase. In the main section, you can use widgets like Latest Posts or Blog Posts which give an overview of what’s new on your blog. In addition, it’s a good idea to add social media icons to this area so readers can follow you on Twitter, Facebook, and other networks they’re active on. For those who share their posts on Google+, Pinterest, etc., don’t forget to include appropriate share buttons in the main header too.
The Secondary section is for displaying secondary content. It is usually a sidebar that appears on the right side of the page, but can also be placed at the bottom of the post. There are four types of elements you may see in the sidebar: widgets, navigation links, ad space, and social media icons. Widgets include posts from your blog or other sites that offer RSS feeds. Navigation links help readers find their way around your site without having to scroll through all the pages they’ve already seen before they get there. Ad space offers an opportunity for advertisers to reach their readers with offers or information about their products or services. Social media icons provide convenient access to accounts on popular social networks like Facebook, Twitter, and Google+. These quick links allow visitors to follow you on those sites and make it easy for them to share what they’re reading with friends.
The tertiary section contains the footer. Here, you can add copyright information and other information that needs to be displayed on every page of your site. In this section, You will find links to popular themes and plug-ins for WordPress sites as well as plugins and scripts that are used by thousands of sites on the web. Remember: If you install a plugin or script, it must also be removed for your site to function properly. However, beginner bloggers should not worry about going through all of these steps at once. Take your time and only do one step at a time.
Templates are a great starting point for making your WordPress website look amazing. They already do much of what you need them to do and all you have to worry about is adding your content. The order of templates inside an individual page on a website is known as template hierarchy. Each file type must have its particular place for everything to work properly.