Custom post types
Hundreds of new entries, right in your own post type
Pick one entry of your Locations, Services or any other custom post type as the template. LPagery creates one entry per row of your spreadsheet in that same post type. They show up under its own menu and URL, and your Pages list stays as it is.
Custom post types come with Extended and Ultimate.
What you get
Every new entry is a real post of your post type
Use the post types your site already has
LPagery lists every public post type on your site in its settings, whether your theme or a plugin added it. Turn on the ones you need, and their entries show up as templates on the Create screen.
One Custom post types setting in LPagery's settings
Pick a Location as the template, get Locations back
LPagery gives every new entry the post type of its template. The Create screen follows along: it asks for a Template Location, previews the URL with your post type's base, like /locations/, and offers that post type's own taxonomies.
Labels like Template Location and Review & Create Locations
Give each entry its own area and parent
Add a column named lpagery_taxonomy_ plus the taxonomy name, like lpagery_taxonomy_service_area, and each row gets its own terms. LPagery creates the terms that don't exist yet. A lpagery_parent column puts each entry under its own parent entry.
Any taxonomy of the post type, and parents in hierarchical post types
How it works
Turn it on once, then create as usual
- 1
Turn on your post type
In LPagery's Settings, pick your post type under Custom post types on the General tab, then click Save changes.
- 2
Make one entry the template
Write one entry of that post type with placeholders, like "Your {service} Partner in {city}", then pick it as the template on the Create screen.
- 3
Create your entries
Add your source file and create. LPagery adds one entry per row to your post type, with its URL, terms, parent and custom fields filled in.
Custom fields come along too
In Classic Mode, the default, every custom field on your template entry is copied to each new entry, including ACF fields and the data your page builder stores, and LPagery fills the placeholders in each one. A Location's address or phone number field can hold a different value for every row. In Live Mode, the entries read these fields from the template when someone opens them.
Questions about custom post types
- Which post types can I use?
Every public post type registered on your site, whether your theme or a plugin added it. Pages and posts are always available. Media and WordPress's own internal types aren't listed.
- Why is my post type missing from the list?
LPagery lists only post types that are registered as public. A post type that a plugin keeps private, for example to store its own data, won't show up. You can make it public in the plugin or code that registers it.
- Will the new entries show up in my Pages list?
No. Each entry gets the post type of its template, so it appears in that post type's own list, like Locations, next to the entries you made by hand. After a run, the Go to Created Locations button opens that list filtered to the new entries.
- Do the entries use my post type's archive and layout?
Yes. They're normal entries of that post type, so WordPress lists them in its archive if the post type has one, and shows them with the same theme template as your other entries.
- Can entries have parent entries?
Yes, if the post type is hierarchical. Pick a parent on the Create screen for the whole run, or add a lpagery_parent column with the parent's ID, URL or slug for each row. An ID or URL points to that exact entry, and LPagery looks up a slug among the entries of the same post type.
- Does every WordPress user need to turn it on?
Yes. LPagery saves the Custom post types setting for each WordPress user, so a colleague who creates pages from their own account picks the post types there too.
- Which plan do I need?
Custom post types need Extended or Ultimate. The free plugin and Standard create pages and posts. The lpagery_taxonomy_ and lpagery_parent columns also need Extended.
Fill your custom post types in one run
Custom post types come with LPagery Extended and Ultimate.
