This customization is implemented as a Must-Use plugin:
- ns-cloner-extra-fields.php
- Make sure WordPress Multisite and NS Cloner are already installed and active.
- Copy
ns-cloner-extra-fields.phpinto:wp-content/mu-plugins/
- If the
mu-pluginsfolder does not exist, create it:wp-content/mu-plugins/
- Do not place this file inside the NS Cloner plugin directory.
- In WordPress Admin, go to Plugins > Must-Use and confirm this plugin is listed.
- Open NS Cloner > Create New Site and verify the 3 extra fields appear.
This file is placed in wp-content/mu-plugins, outside the NS Cloner plugin folder. Because of that, updating NS Cloner will not remove this customization.
In NS Cloner > Create New Site, this adds these fields:
- Tagline (text)
- Site Icon (image picker)
- Administration Email Address (email)
After cloning finishes (core mode), values are written to target site options:
- Tagline -> blogdescription
- Administration Email Address -> admin_email
- Site Icon -> site_icon (by sideloading selected image and saving attachment ID)
- Administration Email Address is validated as an email if provided.
- If invalid, NS Cloner shows an inline validation error in the Create Target section.
- ns_cloner_close_section_box_create_target
- ns_cloner_validate_site_errors
- ns_cloner_process_finish
- admin_enqueue_scripts (for WP media picker)
- To change labels/placeholders/logic, edit: ns-cloner-extra-fields.php
- Do not move this file into the NS Cloner plugin directory.
- Keep this file in mu-plugins to survive NS Cloner updates.
- Open NS Cloner page and confirm the 3 extra fields appear.
- Clone a site with values set.
- In target site Settings > General, confirm:
- Tagline changed
- Administration Email Address changed
- In target site Customizer/Site Identity, confirm Site Icon is set.