Answers.Body: <p>Use a menu that doesn't have &quot;Automatically add new top-level pages to this menu&quot; checked. Or, yes, use a plugin. <a href="https://gist.github.com/christianwach/931bdf52803a35e363043ad0302fd4be" rel="nofollow noreferrer">This simple one</a> or something like it should do the job. Pop it in your &quot;must use&quot; plugins folder at <code>wp-content/mu-plugins</code> - create that directory if it doesn't exist.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-25T09:02:11.243Z
Answers.Text: Thank you!  Any chance of adding that to your Admin Utilities plugin?
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-25T13:20:32.320Z
Answers.Text: @Aidan Not sure about that... CAU is really for things that are common to all sites. Site menus often need handling individually - they can have lots of menus, some of which may want to have the link, some not. The point of this plugin is that it can be modified on a per site basis.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-25T14:46:33.373Z
Answers.Text: Ok, I was wondering whether it could just be an option in CAU but I take your point about customising per site.  For this CiviCRM page, is there any reason one would want to include it in a menu? So far as I understand (which is limited!!), it is only ever used as the base for displaying Civi content.
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-01T10:32:21.527Z
Answers.Text: @Aidan Short answer: who am I to say what people do? :-) Longeranswer: I guess it could be an option for those who want to enable it in CAU, but I can't think of a site I've worked on that uses a menu with "Automatically add new top-level pages to this menu" checked.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-24T14:36:56.507Z
Answers.LastActivityDate: 2023-01-24T14:36:56.507Z
Answers.UserDisplayName: Christian Wach
Body: <p>We've been using Drupal 7 for years, but need to move off before EoL, so I'm testing WordPress as an alternative. I found an explanation of the 'do not delete this page' page in <a href="https://civicrm.stackexchange.com/questions/25463/why-is-there-a-page-in-a-civicrm-wordpress-install-that-says-do-not-delete-this">this answer</a>, but no mention of how to exclude it from menus. All I can find in WordPress an option to make it private, but presumably that will prevent it from being seen by users when it's needed? Do I need a third-party plugin to exclude it from the menu?</p>
  
Tags: <wordpress><base-page>
Title: Hiding the WordPress 'do not delete this page' page
ThreadText: # Hiding the WordPress 'do not delete this page' page
  
  (Asked by: username_0 on 2023-01-24)
  
  We've been using Drupal 7 for years, but need to move off before EoL, so I'm testing WordPress as an alternative. I found an explanation of the 'do not delete this page' page in [this answer](https://civicrm.stackexchange.com/questions/25463/why-is-there-a-page-in-a-civicrm-wordpress-install-that-says-do-not-delete-this), but no mention of how to exclude it from menus. All I can find in WordPress an option to make it private, but presumably that will prevent it from being seen by users when it's needed? Do I need a third-party plugin to exclude it from the menu?
  
  **Tags:** wordpress, base-page
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-01-24. Score: 1 | Accepted answer
  
  Use a menu that doesn't have "Automatically add new top-level pages to this menu" checked. Or, yes, use a plugin. [This simple one](https://gist.github.com/username_1/931bdf52803a35e363043ad0302fd4be) or something like it should do the job. Pop it in your "must use" plugins folder at `wp-content/mu-plugins` - create that directory if it doesn't exist.
  
  > **Comments:**
  > **username_2**: Thank you!  Any chance of adding that to your Admin Utilities plugin?  
  > **username_1**: @username_2 Not sure about that... CAU is really for things that are common to all sites. Site menus often need handling individually - they can have lots of menus, some of which may want to have the link, some not. The point of this plugin is that it can be modified on a per site basis.  
  > **username_2**: Ok, I was wondering whether it could just be an option in CAU but I take your point about customising per site.  For this CiviCRM page, is there any reason one would want to include it in a menu? So far as I understand (which is limited!!), it is only ever used as the base for displaying Civi content.  
  > **username_1**: @username_2 Short answer: who am I to say what people do? :-) Longeranswer: I guess it could be an option for those who want to enable it in CAU, but I can't think of a site I've worked on that uses a menu with "Automatically add new top-level pages to this menu" checked.  
  
  ---
  
  