‫Welcome back, my dear students.
‫And now in this lecture of the course, we will be talking about static pages versus the dynamic pages.
‫Now this is going to be a theory lecture.
‫So what I want you to do is to put your hands away from the keyboard and just listen to what I am saying
‫and try to understand what I'm saying.
‫All right.
‫So this lecture is going to basically build up the foundation for designing a blog website, because
‫in a blog website there are dynamic pages, and in a blog website you can also create static pages as
‫well.
‫So what is a dynamic page and what is a static page?
‫This is something that we will be talking about in this particular lecture.
‫So let's just go ahead and let's get started.
‫Now what actually a static page is.
‫If we go ahead and if we search on Google static page, then it shows a static page, sometimes called
‫a flat page is a stationary page that is delivered to the web browser exactly as it is stored.
‫So this is what a static page is.
‫Now let me explain you.
‫How does a static page work?
‫This is our blog website and you can see that in the previous section we built this particular project.
‫This particular project contains four pages.
‫And all of these four pages are actually the static page, which means that we create a page.
‫We edit that page using the Elementor, and we design that page by dragging and dropping the things.
‫That is how a static page works.
‫So if you now go ahead and you visit this website on any of the browser anywhere, like even after two
‫years, this page is going to be there and there is not going to be any of the change.
‫Even if I do anything, there is not going to be any of the change until and unless I edit this home
‫page again, I click on the edit with Elementor and then I change the heading.
‫Otherwise, programmatically or by doing anything, this page is not going to be changed.
‫All right.
‫Everything that you see here is static.
‫Nothing is going to be changed.
‫However, in the case of a blog website, some of the things are going to be changed.
‫And let me show you how.
‫Like you can see that I am in the home page.
‫We have got this post coming up over here.
‫And if I go into the destination and then I let's suppose that I go into Chicago.
‫All right then this is the page that says ten must visit places in Chicago.
‫Now I go back to the home.
‫This is right here.
‫So is this a static page or is this a dynamic page?
‫Let's see.
‫Now I will go and I will create a new post in a new tab.
‫I will also be opening this Chicago in a new tab as well.
‫All right, so I've got home page and I've got Chicago in a new tab, and then I've got an add new over
‫here.
‫Now I will be writing in here a post that is going to be test.
‫And the content of this post is going to be test as well.
‫Now what I'll do, I will click on publish.
‫Publish.
‫This post is now published.
‫All right.
‫Now, if I just go ahead and I refresh this page, you can see that the test is here.
‫So this page gets changed every time a new post is added.
‫And that is why this page is called a dynamic page.
‫A dynamic page is a page that automatically changes whenever you perform any of the stuff on your website.
‫Like this page is going to show the latest post.
‫Whatever the latest post is going to be that I will be creating on the website is going to be shown
‫up here, and that is why this page is called a dynamic page.
‫Let's suppose that I go back into the test page, and now I go into the post and in the destination
‫I set the destination to be Chicago.
‫All right.
‫And then I hit on update.
‫Now if I refresh this Chicago, then the latest, uh, post, whatever is in the destination of that
‫is going to be shown up here.
‫So these pages, like the home page for a blog website, the category pages, like if I just go into
‫the itineraries which, uh, this test is in the itineraries.
‫All right.
‫So if I just go into the itineraries, this test will be shown because this test is actually the latest
‫post in the itineraries category in the Chicago destination.
‫And the home page shows all of the posts.
‫All right.
‫So that is why these type of pages, home categories and the destinations are the pages that are considered
‫to be a dynamic page.
‫However, the about page that we have over here is considered to be a static page.
‫And the reason for that is because if I just click on edit page and I just add some of the content,
‫and now I just hit on update and now I view the page.
‫Now I add unlimited post.
‫All right, this page doesn't care.
‫This page content is not going to be changed.
‫That is why this page is considered as a static page.
‫Now previously all of the websites that we have built were actually static website.
‫They were not changing whenever we performed any of the other operation.
‫However, with the blog website, when you will be adding a new post, different type of pages will
‫be changed based on that.
‫And that is why those particular pages are actually called the dynamic page.
‫Now, in order to actually edit or design a dynamic page, you have two options.
‫The number one option is to rely completely on the theme customizer.
‫All right.
‫And that theme customizer is going to let us design our dynamic pages.
‫The other option is to create a template.
‫All right.
‫Now for the blog website.
‫It is better to rely on the Theme customizer itself and build a blog website.
‫However, for the other websites like the e-commerce website, uh, the real estate website that we
‫will be building as our fourth and the fifth project of this course, you have to create a template
‫for that.
‫And this is something the template is something that we will be talking about later on in the upcoming
‫sections.
‫However, for the blog website, we will be actually relying on the Theme Customizer and we will learn
‫how we can design beautiful website by relying on the Theme Customizer.
‫This particular lecture is only meant to teach you the difference between a static page and a dynamic
‫page.
‫All right, a static page is a page that is a flat page like this.
‫Like you can create and design a static page using a page builder.
‫And there is no need to worry.
‫However, a dynamic page is a page that automatically changes whenever we perform any of the operation
‫on the website.
‫So that is why it is called a dynamic page.
‫And in order to edit a dynamic page, you have two options.
‫One is to actually, um, go with the theme customizer and design your website.
‫The other is to use a template.
‫So from the next lecture of the course now we will be going ahead.
‫And now we will be working with different type of themes.
‫I will be showing you some of the themes Theme Customizer, and I will share with you how that theme
‫is allowing us to design our dynamic pages, and then we will be moving forward with our course.