Custom Page Attributes


This plugin customizes the parent page dropdown in the page attributes meta box, limiting it to top-level pages with no parent.
Enjoy using the “Custom Page Attributes” plugin! If you have any questions or need support, please contact Mahmoud Mustafa via email at, or connect on LinkedIn and Twitter.


If you find this plugin helpful and would like to support further development, consider buying me a coffee! Donate here.


  • If your website contains a large number of pages, you may feel lost and overwhelmed while attempting to assign each page a parent page. For instance, when assigning a page for the city of “Abbeville” to the parent page of the state “Alabama,” you might encounter difficulty due to the extensive list of pages already assigned, such as Alabaster, Alexander City, and others, resulting in endless scrolling.
  • After activating the plugin, you’ll be able to streamline the pages displayed in the page attributes box to show only the top-level pages. Allowing you to add this page under Alabama, or Alaska or any other state’s page. This feature not only saves you time but also helps preserve your mouse wheel lifespan! 😄.


  1. Upload the custom-page-attributes folder to the /wp-content/plugins/ directory.
  2. Activate the “Custom Page Attributes” plugin through the ‘Plugins’ menu in WordPress.


How does this plugin work?

The plugin modifies the arguments passed to the wp_dropdown_pages function in the page attributes meta box, limiting the parent page options to top-level pages with no parent.

Does this plugin work with the latest version of WordPress?

Yes, it has been tested with the latest version.


There are no reviews for this plugin.

Contributors & Developers

“Custom Page Attributes” is open source software. The following people have contributed to this plugin.




  • Initial release.