| 开发者 |
lruizcode
bubuku |
|---|---|
| 更新时间 | 2026年11月7日 21:13 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp bnbt nav list, wp bnbt nav export and wp bnbt nav import --dry-run.--url flag.No. It is built for the navigation blocks of block themes. Menus created in Appearance > Menus are not supported.
Use CSV to edit or build menus in a spreadsheet. Use JSON for exact backups and for moving menus between sites, because it keeps every block as it is.
Only if you choose "Overwrite if name already exists". Otherwise a new menu is always created. Overwriting saves a backup first, and you can preview any import before applying it.
Yes. Export it on the first site, import the file on the second one. Links to pages and posts keep their IDs, so check them if the content IDs differ between sites.
Yes: wp bnbt nav list, wp bnbt nav export --format=json --output=menus.json and wp bnbt nav import menus.json --mode=overwrite --dry-run. On multisite, add --url=<site>.
Your menus and backups are kept. Only the plugin's own settings and temporary data are removed.
No. This plugin is designed specifically for navigation blocks used in block themes (Full Site Editing).\ Classic menus created with the traditional menu system are not supported.
Yes. You can export menus as CSV and import them into another WordPress installation.
Yes. You can define menu structures in a CSV file and import them, which is especially useful for creating or editing large menus efficiently.
It depends on the import mode you choose. You can create new menus or replace existing ones that share the same name.
Yes. Run wp bnbt nav list, wp bnbt nav export --format=json --output=menus.json and wp bnbt nav import menus.json --mode=overwrite --dry-run. On multisite, add --url=<site> to target a specific site.
Nothing: navigation menus and the automatic backups are your content and are kept. Only the plugin's own options and temporary data are removed.
Yes. Exporting menus as CSV files allows you to keep backups of your menu structures and restore them when needed.