{"id":1482,"date":"2024-09-05T15:37:49","date_gmt":"2024-09-05T15:37:49","guid":{"rendered":"https:\/\/debugspot.com\/?p=1482"},"modified":"2024-09-10T07:46:15","modified_gmt":"2024-09-10T07:46:15","slug":"how-to-create-child-sub-pages-in-wordpress","status":"publish","type":"post","link":"https:\/\/debugspot.com\/blogs\/how-to-create-child-sub-pages-in-wordpress\/","title":{"rendered":"How to Create Child\/Sub Pages in WordPress"},"content":{"rendered":"<p>To create child or sub-pages in WordPress, follow these steps:<\/p>\n<h1 class=\"post-heading\">Step 1: Create or Edit a Page<\/h1>\n<ol>\n<li><strong>Log in to the WordPress Dashboard:<\/strong> Go to http:\/\/yourwebsite.com\/wp-admin and log in.<\/li>\n<li><strong>Navigate to Pages:<\/strong> From the left-hand menu, click <strong>Pages > Add New<\/strong> to create a new page, or <strong>All Pages<\/strong> to edit an existing one.<\/li>\n<li><strong>Add Content:<\/strong> Enter the title and content for your new page.<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading\"> Step 2: Assign a Parent Page<\/h3>\n<ol>\n<li><strong>Page Attributes:<\/strong> On the right side of the editor, you&#8217;ll see the <strong>Page Attributes<\/strong> section.<br \/>\n\t<img decoding=\"async\" src=\"https:\/\/debugspot.com\/blogs\/wp-content\/uploads\/2024\/09\/parent-page.png\" alt=\"Parent Page\" width=\"\" height=\"\"\/><\/li>\n<li><strong>Select Parent Page:<\/strong> Under the <strong>Parent<\/strong> dropdown, select the page you want to assign as the parent. This will make your current page a child (or sub-page) of that parent.<\/li>\n<li>If no parent is selected, it will remain a top-level page.<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading\"> Step 3: Publish the Page<\/h3>\n<ol>\n<li><strong>Review and Publish:<\/strong> Once you&#8217;ve selected the parent page and added your content, click the <strong>Publish<\/strong> button to make the child page live.<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading\"> Step 4: View Your Sub-Page<\/h3>\n<p>Now, your new page is a sub-page of the selected parent, and it will usually display in a hierarchical structure (e.g., http:\/\/yourwebsite.com\/parent-page\/child-page).<\/p>\n<h3 class=\"wp-block-heading\"> Step 4: View Your Sub-Page<\/h3>\n<ol>\n<li><strong>Go to Appearance > Menus.<\/strong><\/li>\n<li><strong>Add Pages to the Menu:<\/strong> Select the pages and add them to your menu.<\/li>\n<li><strong>Drag and Drop:<\/strong> Drag the child page slightly to the right beneath the parent page in the menu structure to create a dropdown effect.<\/li>\n<li><strong>Save Menu:<\/strong> Click <strong>Save Menu<\/strong> to apply the changes.\n<\/ol>\n<p>By following these steps, you can easily create a child or sub-page in WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To create child or sub-pages in WordPress, follow these steps: Step 1: Create or Edit a Page Log in to the WordPress Dashboard: Go to http:\/\/yourwebsite.com\/wp-admin and log in. Navigate to Pages: From the left-hand menu, click Pages > Add New to create a new page, or All Pages to edit an existing one. Add Content: Enter the title and content for your new page. Step 2: Assign a Parent Page Page Attributes: On the right side of the editor, you&#8217;ll see the Page Attributes section. Select Parent Page: Under the Parent dropdown, select the page you want to assign as the parent. This will make your current page a child (or sub-page) of that parent. If no parent is selected, it will remain a top-level page. Step 3: Publish the Page Review and Publish: Once you&#8217;ve selected the parent page and added your content, click the Publish button to make the child page live. Step 4: View Your Sub-Page Now, your new page is a sub-page of the selected parent, and it will usually display in a hierarchical structure (e.g., http:\/\/yourwebsite.com\/parent-page\/child-page). Step 4: View Your Sub-Page Go to Appearance > Menus. Add Pages to the Menu: Select the pages &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"rank_math_lock_modified_date":false,"footnotes":""},"categories":[29],"tags":[37],"class_list":["post-1482","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-create-sub-pages"],"acf":[],"_links":{"self":[{"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/posts\/1482"}],"collection":[{"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/comments?post=1482"}],"version-history":[{"count":1,"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/posts\/1482\/revisions"}],"predecessor-version":[{"id":1483,"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/posts\/1482\/revisions\/1483"}],"wp:attachment":[{"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/media?parent=1482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/categories?post=1482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/debugspot.com\/blogs\/wp-json\/wp\/v2\/tags?post=1482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}