{"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<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/debugspot.com\/blogs\/how-to-create-child-sub-pages-in-wordpress\/#Step_1_Create_or_Edit_a_Page\" >Step 1: Create or Edit a Page<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/debugspot.com\/blogs\/how-to-create-child-sub-pages-in-wordpress\/#Step_2_Assign_a_Parent_Page\" >Step 2: Assign a Parent Page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/debugspot.com\/blogs\/how-to-create-child-sub-pages-in-wordpress\/#Step_3_Publish_the_Page\" >Step 3: Publish the Page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/debugspot.com\/blogs\/how-to-create-child-sub-pages-in-wordpress\/#Step_4_View_Your_Sub-Page\" >Step 4: View Your Sub-Page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/debugspot.com\/blogs\/how-to-create-child-sub-pages-in-wordpress\/#Step_4_View_Your_Sub-Page-2\" >Step 4: View Your Sub-Page<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1 class=\"post-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Create_or_Edit_a_Page\"><\/span>Step 1: Create or Edit a Page<span class=\"ez-toc-section-end\"><\/span><\/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\"><span class=\"ez-toc-section\" id=\"Step_2_Assign_a_Parent_Page\"><\/span> Step 2: Assign a Parent Page<span class=\"ez-toc-section-end\"><\/span><\/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\"><span class=\"ez-toc-section\" id=\"Step_3_Publish_the_Page\"><\/span> Step 3: Publish the Page<span class=\"ez-toc-section-end\"><\/span><\/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\"><span class=\"ez-toc-section\" id=\"Step_4_View_Your_Sub-Page\"><\/span> Step 4: View Your Sub-Page<span class=\"ez-toc-section-end\"><\/span><\/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\"><span class=\"ez-toc-section\" id=\"Step_4_View_Your_Sub-Page-2\"><\/span> Step 4: View Your Sub-Page<span class=\"ez-toc-section-end\"><\/span><\/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}]}}