[featured_image]
Download
Download is available until [expire_date]
  • Version 1.1.0
  • Download 17
  • File Size 18.38 KB
  • File Count 1
  • Create Date August 12, 2025
  • Last Updated August 28, 2025

Page to Navigation Menu Adder for WordPress

A WordPress plugin that allows you to easily add pages to navigation menus directly from the page editor, with drag-and-drop reordering capabilities.

Page to Navigation Menu Adder for WordPress

Features

- **Easy Page Addition**: Add pages to navigation menus directly from the page editor

- **Parent-Child Relationships**: Set parent menu items to create hierarchical menus

- **Drag & Drop Reordering**: Reorder menu items with intuitive drag-and-drop interface

- **Real-time Updates**: See changes immediately without page refresh

- **Duplicate Prevention**: Prevents adding the same page to a menu multiple times

- **Visual Feedback**: Clear indication of current menu status and loading states

Installation

1. Upload the plugin files to `/wp-content/plugins/page-to-navigation-menu-adder/`

2. Activate the plugin through the 'Plugins' menu in WordPress

3. The plugin will automatically add a meta box to the page editor

Usage

Adding a Page to a Menu

1. Edit any page in WordPress

2. Look for the "Add to Navigation Menu" meta box on the right side

3. Select a navigation menu from the dropdown

4. Choose a parent menu item (optional)

5. Click "Add to Menu"

Reordering Menu Items

1. Select a menu from the dropdown

2. The current menu structure will be displayed

3. Drag and drop menu items to reorder them

4. Changes are automatically saved

### Deleting Menu Items

1. Click the "X" button on any menu item in the structure view

2. Confirm the deletion

3. The item will be removed from the menu

## Requirements

- WordPress 5.0 or higher
- PHP 8.0 or higher
- jQuery UI (automatically included)

## Troubleshooting

1. **"Undefined array key menu_id" error**: This has been fixed in the latest version
2. **Menu reordering not working**: Ensure you have proper permissions and the menu exists
3. **Items not saving**: Check that your server allows AJAX requests