• Resolved thesongoku

    (@thesongoku)


    Hello all together,

    we have a manuell (via code) set up custom post type called “Speaker”. I would like to transfer this manuell set up custom post type to your plugin now. There are approx. 300 entries in this custom post type and 53 categories assigned to these entries.

    My question is:
    Can I transfer this manuell set up custom post type to your plugin without having to manually create all of these entires and categories somehow? The slugs shall remain the same.

    I am looking forward to your reply!

    Regards
    Thomas

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Yes, you shouldn’t need to do any moving of anything, all the content can stay right where it’s at, and you just need to fill in all the same values in CPTUI until you have your matching registration arguments. Biggest key factor will be the slug matching. Once you have your final result, removing the registration code from your manual version would be the final step.

    Thread Starter thesongoku

    (@thesongoku)

    Hi Michael,

    I just tried to create our speaker post type via the CPTUI Plugin. While trying to add it, the field for the slug said “the slug already exists”. That’s why I typed in “speakers” instead of “speaker” (because that slug already exists).

    The plugin created a new post type though (which I can understand).

    Do you have an idea, what I could try?

    Regards
    Thomas

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    We do some checks for existing post types and pages and whatnot, so maybe just temporarily comment out your original registration so you can get the slug into the database and then start filling in the rest of the arguments matching afterwards.

    You shouldn’t be losing any content during this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Transfering entries to CPTUI Plugin’ is closed to new replies.