100%
  • Home
  • Courses
    • View All
Login
  • Home
  • Courses
  • Log In
  • View All
Home WordPress Training Program Theme Development πŸ‘€ Template files and hierarchy

Course Lessons

WordPress Training Program

1 Getting started with WordPress πŸ“£
  • What is WordPress
  • Creating a blog and writing daily updates ✍️
  • Installing WordPress
  • WordPress Terminology πŸ“ƒ
  • How WordPress works
  • Understanding WordPress Database Schema
  • Using themes and plugins
2 Setting up Development Environment πŸ‘¨β€πŸ’»
  • Introduction to Git and SVN πŸ”„
  • Setting up an Integrated Development Environment (IDE)
  • Pushing changes to site via Git commits/branches
  • Setting up Z shell and Oh My Zsh for fast command line work
3 Coding Standards and Best Practices πŸ’―
  • WordPress Coding Standards (WPCS)
  • PHP_CodeSniffer (PHPCS)
  • Peer Code Review
  • Security πŸ›‘οΈ
  • WordPress Documentation Schema
4 Plugin Development πŸ› οΈ
  • Introduction to plugin development
  • Hooks: Actions and Filters
  • Custom Post Types and Taxonomies
  • WordPress Core APIs
  • WP_Query (Custom Query)
  • WordPress AJAX
  • Interacting with remote data and APIs
  • Plugin development assignment
5 Theme Development πŸ‘€
  • Anatomy and architecture of a theme
  • Theme Stylesheet and Functions file
  • Template files and hierarchy
  • Customizer
  • Asset Building using Webpack & Babel
  • Child Themes
  • Handling Media in WordPress
  • Theme development assignment
6 Debugging 🐞
  • Introduction to Xdebug
  • EasyEngine site debugging with docker commands
  • How to check Nginx, PHP, and WP Debug logs
7 Advanced Concepts πŸ“œ
  • WP-CLI
  • REST API
  • Roles and Capabilities
  • Caching
  • Custom Database Table Creation
  • Optimization ⚑
  • Users and User metadata
  • Cron β³βš™οΈ
  • Background Processing
  • Internalization and Localization 🌐
  • Multisite
  • Email with WordPress πŸ“§
8 Block Editor (Gutenberg) πŸ—οΈ
  • Default Blocks
  • Creating a block
9 Testing πŸ€“
  • PHPUnit Test
  • JavaScript: QUnit, Jest
  • ESLint, JSLint, JSHint, JSCS
  • CSS: Stylelint
10 Extras πŸ˜ƒ
  • Decoupled
  • GraphQL
  • React and Next.js
  • WooCommerce πŸ›’
  • Accessibility (WCAG 2.0) πŸ”
11 Contributing to WordPress ❀️
12 Server Side πŸ–₯️
  • How to check CPU/Memory/Disk Space on a server
  • Rsync and SSH basics
  • How to sync one site with other using WP-CLI and rsync
  • Tmux basics
13 Congratulations πŸ₯³
Return to WordPress Training Program

Trainer(s)

There is no group/trainer

WordPress Training Program

Template files and hierarchy

Template files are also a part of your theme and play an important role in how the website is displayed to the site visitors. It mainly deals with the website layout and its components. Some examples of the template files are header.php, comments.php, and index.php.

By the way, the template files in WordPress are reusable. This means that you can use query strings to call a template or a set of templates dynamically. These query strings look for template files with specific names in the current theme’s directory and use the first matching template file as specified by the hierarchy.

For a more detailed understanding of the WordPress template hierarchy, you may have a look at the below resources.

Alicia St Rose: Wrangle the WordPress Template Hierarchy Like a Boss from WordPress.tv | (CC BY-SA 4.0)
  • Visualize the WordPress Template HierarchyΒ by WPShout
  • Template Hierarchy

← Previous Topic

Copyright 2017-25 All Rights Reserved | Designed by WisdmLabs