check current pages is a child page wordpress
To check if a WordPress page is a child page, you can follow these steps:
Access the WordPress Dashboard: Log in to your WordPress admin panel.
Navigate to the Pages Section: Click on the "Pages" menu on the left-hand side of the dashboard.
Locate the Page: Find the page you want to check.
Check Page Attributes: Click on the page title to edit it. On the right-hand side, locate the "Page Attributes" box.
Look for Parent Page: In the "Page Attributes" box, if there's a "Parent" dropdown menu and it has a selected page, then the current page is a child page of the selected parent page. If there's no selected parent, it means the page is not a child page.
By following these steps, you can determine whether a specific WordPress page is a child page or not.