Skip to content

Creating Record Types

Open Post Runtime → Post Types and select Add New to create a type, or Edit on a row to change one. The same options can be set by an AI assistant through the connector; the setting key is given in each table for that case.

OptionKeyWhat it doesDefault
SlugslugThe internal name. Lowercase letters, numbers and underscores, at most 20 characters. Cannot be changed after creation. post, page, attachment, product and other WordPress and WooCommerce names are refused.— (required)
Singular labellabel_singularThe name of one record in the admin, such as “Listing”.— (required)
Plural labellabel_pluralThe name of the type in the admin menu and archive, such as “Listings”.— (required)
DescriptiondescriptionA note stored with the type.Blank
OptionKeyWhat it doesDefault
PublicpublicRecords have public pages and appear in front-end queries.On
Has archive pagehas_archiveThe type gets an archive page listing its records. Also needed for an event type’s calendar feed.On
Hierarchical (supports parent/child relationships)hierarchicalRecords can have a parent record. Needed for groupings that list child records.Off
Available in REST API and block editorshow_in_restTurn off to edit records in the classic editor.On
Show in admin menushow_in_menuThe type gets its own admin menu.On
Menu positionmenu_positionWhere the menu sits: 5 is Posts, 20 is Pages.25
Menu iconmenu_iconA Dashicons name such as dashicons-admin-home, an image URL, or a base64 SVG.dashicons-admin-post
OptionKeyWhat it doesDefault
SupportssupportsThe parts of the edit screen: Title, Editor (main content), Featured image, Excerpt, Author, Comments, Revisions, Page attributes (parent, order), Custom fields. Without Editor, the single page has no main content area.Title, Editor, Featured image, Excerpt
TaxonomiestaxonomiesComma-separated taxonomy slugs to attach, such as category, post_tag. The taxonomy must already exist; this plugin does not create taxonomies.None
Capability typecapability_typeWhich WordPress permissions govern the records. Leave as post unless you know you need something else.post

The hero is the header at the top of every record’s page: title, excerpt, featured image and the post fields you place there.

OptionKeyWhat it doesDefault
Hero layouthero_layoutStacked puts the image as a 16:9 banner above the title. Split puts the image beside the title and excerpt. Overlay places the title and fields on the image over a darkening gradient.Stacked
Image positionhero_image_positionSplit only. Left or Right.Left
Image aspect ratiohero_image_aspectSplit only. Square (1:1), Landscape (4:3) or Wide (16:9).Square
Overlay image focushero_overlay_focusOverlay only. Which part of a tall photo stays visible: Center, Top or Bottom.Center
Hero themehero_themeInherit follows the page’s light or dark mode. Light band and Dark band force the hero into a contrasting band with its own background.Inherit
Hero widthhero_widthContained keeps the hero within the content width. Full width runs its background to the edges of the window while the content stays aligned.Contained

A record with no featured image gets a text-only hero; with Overlay, it falls back to the stacked treatment, so the band is never empty. While an overlay image is showing, Hero theme has no effect: text is always light on the dark gradient.

OptionKeyWhat it doesDefault
Default icondefault_iconAn icon used on grouping items that have no icon or image, for example items pulled in automatically from other records.None

These answer the Promptless theme’s archive cards. They do not affect a Promptless WP post grid, which has its own settings.

OptionKeyWhat it doesDefault
Post datearchive_show_post_dateShow the date the record was created on archive cards. Leave off when a post field carries the date that matters, such as an event date.Off (up to version 0.10.0 the admin form started with it on)
Post authorarchive_show_post_authorShow the author byline on archive cards. The byline is the WordPress account that created the record.Off (up to version 0.10.0 the admin form started with it on)
Card image aspect ratioarchive_image_aspectThe featured-image crop on archive cards: 16:9 — Wide, 4:3 — Standard, 1:1 — Square or 4:5 — Portrait.16:9

A record’s address is /{slug}/{record-name}/ and the archive is /{slug}/, using the type’s Slug. Because a slug may contain underscores, a type named pt_meeting is published at /pt_meeting/….

To publish under a different address, set rewrite through the connector, for example "rewrite": { "slug": "meetings" }. A nested address such as council/meetings works; each part is cleaned the way WordPress cleans a page slug (lowercase, spaces become hyphens). with_front (default off) adds the site’s permalink prefix. The Post Types screen has no field for this.

Old addresses keep working after a change: WordPress redirects a missing address to the record with the same name.

Remove on the Post Types list unregisters the type. Its records and their field values stay in the database, and registering the same slug again brings them back, with their grouping definitions. Up to version 0.10.0, Remove deleted the grouping definitions; the connector kept them. See Connector overview.