How to Create Child Pages and Enable or Disable Comments in WordPress Pages_ _ Class 7
How to Create Child Pages and Enable or Disable Comments in WordPress Pages_ _ Class 7
Transcript
00:00Assalam o alaikum friends, I welcome you all to the 7th class of WordPress
00:04In this lecture, we are going to learn how to create all the pages
00:07which is also called child page
00:09and how to enable the option of comments on your pages
00:12and how to control those comments when a viewer comments on your website
00:17Ok, let's start
00:19So friends, as we made 4 pages in the last video
00:23Let's see how to create all its pages
00:25which is called child page
00:27For this, we come to the dashboard of WordPress
00:29Here, we have to go to pages
00:31Click on all pages
00:32Here, you can see the pages which are already created
00:36Now, let's see how to create a sub-page
00:38How to create a child page
00:40Here, you have to follow the similar process
00:42which we saw in the last class
00:44Click on the add new button
00:46And here, for example, we want to create a sub-page of home
00:51Simply write here, home sub-page
00:54It will be fine
00:56Here, you can see home sub-page
00:57I have written this name just to give an example
00:59You can write any other name
01:01See, the purpose is to teach you how to add pages
01:05See, after this, you have to add text
01:07You can add any text
01:09For example, I have added this text
01:11See, the page is created as it is
01:13like a normal page
01:14But how to convert it into a child page
01:17For that, you have to do this
01:19On the right side, you can see the option of pages
01:21You can see it
01:22If you scroll down, you will see an option
01:25Page Attribute
01:26You have to click on this little arrow
01:30Now see here, Parent Page
01:32Means, we have to create a child page of this
01:36When you click on this
01:38You will see all the pages that we have already created
01:42See here, Home, Blog, About Us, Contact Us
01:45We want to create a sub-page of the home page
01:48So that's why we have selected the parent page
01:51See here, we have selected the home
01:53And after that, you have to set the order to 0
01:55When you will create more than one child pages
01:58Then you have to set the order to 1, 2, 3
02:01As we are creating only one page
02:03So we have set the order to 0
02:05And clicked on the Publish button
02:07See here, we have published it
02:09Our page has been published
02:10After that, we go back to our dashboard
02:12See here, you can see this
02:14Home page main
02:15And below that, you can see sub-page
02:17Here, you can see Home sub-page
02:19Means, it has become a child page
02:22In this way, when we come to our website
02:24Let's refresh it
02:26See here, we have refreshed it
02:28After refreshing it, we can't see the sub-page
02:31We can't see the menu bar
02:33I will tell you how to add this page
02:35For that, you have to go to the parent page
02:38Go to the menu
02:40When you go to the menu
02:42See here, you have clicked on this
02:44You can't see any page
02:45See here, you can see the sub-page
02:47You have to click on this and add to menu
02:49See here, we have added to menu
02:51But it will come at the bottom
02:53See here, it has come at the bottom
02:54But we don't want it here
02:55You have to click on this
02:57And take it below the Home button
02:59After taking it below the Home button
03:01You have to drag it to the right
03:03Okay, here
03:04Leave it
03:05When you drag it to the right
03:07It will come below this
03:09Sub-page will come below this
03:11After that, you have to click on the save menu
03:13After clicking on the save menu
03:15Go to your website and refresh it
03:17See here, we have refreshed it
03:18See here
03:19It has come below this
03:21See here, it is coming
03:22When I clicked on this
03:23A proper sub-page has come below this
03:25It has become 7 arrows
03:26After this, we will create 2, 3, 4, 5, 6 pages
03:29It will come below this
03:30But, see
03:31I will tell you later
03:33You can create a separate page
03:35You can create a page and add it to the sub-menu
03:37For example, see here
03:38I can put the About Us page below this
03:40See here
03:41When I put it below this
03:42And when I save it
03:44See here, it will come below this
03:46No doubt, it will come below this
03:47Okay
03:48But, there is a purpose of creating a sub-page
03:50For example, when I click on the sub-page
03:52Like I clicked on this
03:54See here, see the URL carefully
03:56Your blog's name is slash homepage
03:58Which is a parent page
04:00And what is its child page?
04:02Home sub-page
04:03Okay
04:04That's why I created a child page
04:06If I click on the About Us page like this
04:08When I click on the About Us page
04:10Its parent page is not coming
04:11Simple About Us page is coming
04:13That's why we created a parent page sub-page
04:16You can bring it below in the menu
04:18No doubt, you can bring it below
04:20But, a sub-page will be created only when you make it properly
04:22So, from the menu
04:24We remove the About Us page
04:26And save it
04:28After saving, when I refresh it
04:30It will go back and its child page
04:32Will come below this
04:34So, in this way, we can create our child pages
04:36When do we need a sub-page?
04:38For example, when you are creating a company's
04:40About Us page
04:42In that, you give a message
04:44But, you want to take the company's
04:46Vision and mission on a separate page
04:48For that, you create a child page
04:50Or a sub-page and put it in the menu
04:52That's why we need a sub-page
04:54Or a child page
04:56I hope you have understood till here
04:58Now, we will see
05:00How to enable comments on pages
05:02For example, this is our homepage
05:04Here, you will scroll down
05:06But, no comment option is visible below
05:08That is, no one will go to your website
05:10So, no one can comment below
05:12Now, I will show you how to enable
05:14All these options
05:16For that, you have to go back
05:18To your dashboard
05:20Here, you have to come to pages
05:22And click on all pages
05:24Now, the page on which you want to enable comments
05:26You have to edit that page
05:28Here, I have edited by pressing the home button
05:30After editing
05:32Here, you can see the page options
05:34Here, you have to scroll down
05:36Here, you can see the option of discussion
05:38You have to click on this
05:40As soon as you click, you will see a small option
05:42Allow comments
05:44Don't check it and update it
05:46As soon as I update it
05:48I come to my page
05:50As soon as I refresh it
05:52Here, you can see leave comment
05:54Now, as I am an admin
05:56That's why I can't see the option of login
05:58Because I am already logged in
06:00If I am not an admin
06:02Then, you will see different options
06:04And as soon as the comment is posted
06:06It will go to my WordPress panel
06:08For example, I will open it in a different browser
06:10Then, you will understand
06:12I will copy the URL
06:14I will take it to the next browser
06:16As soon as I paste it
06:18Here, you can see
06:20Comment name, email address, website
06:22As soon as a visitor
06:24Will visit my website
06:26Will visit my homepage
06:28Will want to comment
06:30Hi, this is Bilal
06:32This is my comment
06:34This is my email address
06:36This is my address
06:38After that, if there is no one on your website
06:40Click on post comment
06:42As soon as I post comment
06:44You can see this comment
06:46But people won't see this comment
06:48Means the person who comments
06:50He will feel that he has commented
06:52He can see this
06:54But other than that, no one will see this comment
06:56Until
06:58You can see
07:00I will go to my dashboard
07:02I will click on the comment section
07:04I will click on comments
07:06Here you can see someone has commented
07:08Here you can see Bilal has commented
07:10This is his email address
07:12Now as soon as I approve it
07:14then that comment
07:16will be live on my page
07:18I want to reply to it
07:20I can reply from here
07:22I can delete it
07:24I can click on spam
07:26I can send it in spamming
07:28So as soon as I approve it
07:30Here you can see
07:32the live option
07:34Now as soon as I go to my website
07:36I refresh it
07:38As soon as I refresh it
07:40Here you can see the comment
07:42Bilal has commented on this date
07:44Now I can see the edit option
07:46Similarly, how can the viewer see the comment
07:48Here you can see he doesn't have the edit option
07:50He will see a simple comment like this
07:52And he can post another comment here
07:54So friends, this way on any WordPress page
07:56On your website
07:58You can enable the comment option
08:00And you can handle the comments here
08:02And whenever you want
08:04You can disable the comment option on any page
08:06That's why I say
08:08Your website should be on WordPress
08:10All in all control is yours
08:12You are the owner of your will
08:14You can do whatever you want with your website
08:16So friends, on your assignment
08:18You have to create all the pages
08:20And you have to enable the comment option
08:22And you have to take a screenshot
08:24And you have to upload the screenshot
08:26In our 90s meet and community group
08:28And most importantly
08:30You have to keep marking the attendance
08:32By giving this video a thumbs up
08:34I hope you have understood this lecture clearly
08:36So do practice
08:38Learn the skills of WordPress
08:40So that you can work as a freelancer in the future
08:42And do online learning
08:44So see you in the next video