Introduction to a WordPress application's frontend
WordPress powers its frontend with a concept called themes, which consist of a set of predefined template files to match the structure of the default website layouts. In contrast to web applications, a WordPress theme works in a unique way. In Chapter 1, WordPress As a Web Application Framework, we had a brief introduction to the role of a WordPress theme and the most common layout. Preparing a theme for web applications can be one of the more complicated tasks that is not discussed widely in the WordPress development community. Usually, web applications are associated with unique templates, which are entirely different from the default page-based nature of websites.
Basic file structure of a WordPress theme
As WordPress developers, you should have a fairly good idea about the default file structure of WordPress themes. Let's have a brief introduction of the default files before identifying their usage in web applications. Think about a typical...