Book Image

WordPress Web Application Development

By : Rakhitha Nimesh Ratnayake
Book Image

WordPress Web Application Development

By: Rakhitha Nimesh Ratnayake

Overview of this book

Table of Contents (19 chapters)
WordPress Web Application Development Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building the portfolio application 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 will 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 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 the preceding...