Auto Subpage Menu Auto Subpage Menu

Auto Subpage Menu

Created by: Nathachai Thongniran

Rating:
Downloaded: 8k times

By default wordpress menu system, wordpress can only automatically add/remove top-level page to/from menus

  • When publish top-level page then add it into menus
  • When move top-level page to trash then remove it from menus
  • When restore top-level page then add it into menus

this feature has no effect with subpage (child page), but Auto Subpage Menu can

  • When publish subpage (child page) then add it into menus (if its page parent exists in menu)
  • When update subpage (child page) then update menus
  • When move subpage (child page) to trash then remove it from menus
  • When restore subpage (child page) then add it into menus

Notes

TODO

  • [ ] Implement DocBlock to all
  • [ ] Automatically update child-page when its parent have been move, suggested by ncwebdev, topic
  • [ ] Add other versions into wordpress download page

Screenshots

  • When publish subpage then add it into menus (screenshot-1.jpg)
  • When update subpage then update menus (screenshot-2.jpg)
  • When trash subpage then remove it from menus (screenshot-3.jpg)
  • When restore subpage then add it into menus (screenshot-4.jpg)

Categories

Get New Themes & Resources