WXP Agency Kit fills a site with demo content for the WXP plugins, from the command line (WP-CLI). Use it to show, test or hand over a site before the customer has delivered texts and photos. The kit comes with the Agency bundle.
Before you start #
- WordPress 6.5 or newer, and PHP 8.1 or newer.
- WP-CLI on the server where the site runs.
- The licence key of WXP Agency Kit, from your purchase email. The kit has its own licence: it comes with the Agency bundle, and the licences of the other bundles do not unlock it.
- The WXP plugin a pack belongs to, active and recent enough.
wp wxp-data listshows what is missing. - Administrator access to your WordPress site.
Step 1: Download the kit #
- Open the email you received after your purchase. It has a link to your downloads.
- Download the ZIP file of WXP Agency Kit. Do not extract it.
Step 2: Upload the kit to WordPress #
- Log in to your WordPress admin dashboard.
- Go to Plugins → Add New Plugin and click Upload Plugin.
- Choose the ZIP file you downloaded and click Install Now.
- When WordPress confirms the installation, click Activate Plugin.
Step 3: Activate your licence #
- Go to Tools → WXP Agency Kit. Until a licence is entered, this page asks for it.
- Enter your licence key and confirm.
Without a valid licence the command only explains that a licence is needed. After the licence is accepted, the same page lists the commands and the packs.
The commands #
wp wxp-data list
wp wxp-data import <pack>
wp wxp-data import <pack> --skip-images
wp wxp-data remove <pack>
listshows the packs, whether they can be used on this site and how many items are on it.importimports a pack. Items that were imported before are skipped, so it is safe to run twice. Add--skip-imageswhen you are offline or only need the text.removeremoves what the pack created, and nothing else. It asks first;--yesskips the question.
The packs #
| Pack | For | Needs |
|---|---|---|
restaurant |
WXP Restaurant Menu | version 0.12.0 or newer |
events |
WXP Local Events | version 0.11.3 or newer |
reservations |
WXP Restaurant Reservations | version 0.4.0 or newer |
rooms |
WXP Restaurant Bookings: Rooms | version 0.6.0 or newer |
- restaurant: a demo menu with categories, groups, tags and dishes, photos, secondary titles and two sets (favourites and lunch).
- events: 24 demo events in six categories, spread over the next six months, with photos. Twelve are paid online with WXP Local Events for WooCommerce; without that add-on they are paid at the door, and they switch to online payment once it is active.
- reservations: a demo restaurant with 12 tables in three zones, combinations, opening hours, a blocked table, a waiting list and bookings from yesterday on. Options:
--mode=flexible|sessions(how guests pick a time),--days=<n>(1 to 60, how far ahead the bookings go) and--no-bookings. - rooms: three spaces (a conference room, a garden pavilion and a wine cellar) and six hires in different states. It needs the restaurant to be set up, so import
reservationsfirst, or use your own settings.
Good to know #
- Removing is safe. Everything an import creates carries a marker.
removedeletes only what carries it, and your own content is never touched. Terms are only deleted when they are no longer used. - Photos. The photos may be reused commercially (CC BY, CC BY-SA, CC0, Public Domain Mark). They are reduced to 1000 pixels, and the credit is stored with each image. When you publish pages with these photos, show the credit: CC BY and CC BY-SA require it.
- No mail. The demo bookings and hires use made-up guests with
@example.comaddresses and never send mail. - Public booking is never switched on by the demo.
Troubleshooting #
- The command says it needs a valid licence: enter your licence under Tools → WXP Agency Kit. The licence comes with the Agency bundle.
- A pack is “not ready”: the plugin it belongs to must be active and recent enough.
wp wxp-data listshows what is missing. - The rooms pack skips hires: it needs the restaurant to be set up first. Import
reservations, or set up your own tables.
Updates and support #
When a new version is available, WordPress shows an update notice on the Plugins page. Need help? Open a ticket on the support page.