Building a portfolio application's home page
So far, we have learned the theoretical aspects of creating templates inside WordPress themes. Now it's time to put them into practice by creating the home page for a portfolio application. In this section, we are going to talk about the importance of widget-based layouts for web applications while building the home page.
What is a widget?
A widget is a dynamic module that provides additional features to your website. WordPress uses widgets to add content to the website sidebars. In most web applications, we won't get sidebars while creating layouts. However, we can take widgets beyond the conventional sidebar usage by creating fully widgetized layouts for increased flexibility. With WordPress, we can widgetize any part of the application layout, allowing developers to add content dynamically without modifying the existing source code.
Let's plan the structure of the home page layout by using widgets, as shown in the following diagram:
According to...