• Resolved inspired888

    (@inspired888)


    Hi folks,

    My site is currently using TYPES (from http://www.wp-types.com) for custom post types and taxonomy. I had, perhaps wrongly, assumed or understood that these custom post type plugins utilised standard WP meta fields, etc., and thus were interchangeable. I have now discovered that is not the case.

    I would like to switch to PODS. I see it has an import feature for migrating from Custom Post Types UI. But I found no obvious way to migrate from TYPES.

    Is there any easy way to go about this? Or easy way?

    Thank you,

    Jonathan

    https://wordpress.org/plugins/pods/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter inspired888

    (@inspired888)

    I have now found your forums.
    I suspect this may answer my question:

    http://pods.io/forums/topic/convert-wp-types-to-pods/

    I will try this out.

    Plugin Contributor Josh Pollock

    (@shelob9)

    Please let us know if that works. I’ve never done this, but the answer I gave there is the best theory I have on how.

    Hi Josh,
    It is more or less working.
    The one hassle is that PODS defaults to using an underscore ( _ ) in the slug, and it is the slug that seems to be the key identifier of each post type and taxonomy type.
    Whereas all the other (about 5) customer types plugins I have tried all use a standard hyphen in the slug ( – ) just like the rest of wordpress does.
    So, the two word custom types/taxonomies I have are very difficult to get PODS to pick up on. After multiple attempts it did pick up on one of my types with a two-word name, despite failing to a few times, and despite it PODS using an _ and the existing type using a -.
    Is there a reason PODS uses underscores in the slug, even though the rest of WP uses hypens?

    Joanthan

    Plugin Contributor Josh Pollock

    (@shelob9)

    I honestly couldn’t tell you, that’s a decision that was made years ago. That said, if you extend an existing post type, with a hyphen in the slug, Pods will not change it.

    Do I get exactly the same functionality and level of control when extending an existing post type (or taxonomy type) as I do when creating it from scratch in PODS (or having PODS pull in an existing one, as though created in PODS) ?

    Here what I ended up doing. So far, so good.

    I went into the database and manually changed all my hyphens into underscores.
    I then set a customer slug on each tax and type using a hyphen in place of the underscores. So, “custom_tax” ended up with a slug of “custom-tax”, etc. So far this seems to have done the trick.

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    WordPress uses hyphens in url slugs, but not in its content types. It uses underscores such as post_tag, and field names use underscores too for all meta key and option names that I’m aware of in core. We normalize to underscores as a legacy to Pods 1.x and to retain support for table-based Pods, since hyphens are not acceptable for table names or column names in the DB.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Migrating from other custom types plugins’ is closed to new replies.