Implement custom post type support

Created on 27 November 2024, 6 months ago

Problem/Motivation

Many WordPress sites have Custom Post Types (CPT) beyond standard posts and pages. It would be useful to be able to import these natively.

However it might require interpreting the contents of the XML file to read from it, and offer additional import wizard steps. Otherwise the machine name attribute, and other attributes, could be manually entered in a set of form fields.

See also πŸ› Subtle wizard pagination bug posts/pages, remove "empty" Active regarding these wizard steps. This was discussed in 7.x but no patches: ✨ Custom post types Postponed

More about WordPress "post types":

Proposed resolution

Implement some kind of CPT import

Remaining tasks

  • Determine if it can be read from XML file, or defined in another way, or both.
  • Possibly change YML files to 'genericize' more
  • Possibly change how this module works in other ways, eg "plugin derivers"
  • Update WordpressMigrationGenerator.php
  • Alter the wizard steps to include the input format picker.

User interface changes

Additional wizard step pages. At least one per custom post type.

API changes

Removing hard coded "post" and "page" references to replace with something more scalable.

Data model changes

Additional config entities created.

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hongpong Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024