Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    It does support custom meta fields, but I have never tested this with Pods. They must use some alternate coding to create/store their custom fields.

    You can test out normal custom fields by enabling Custom Fields in the in the Screen Option panel and creating a few. You’ll see that they copy over.

    Thread Starter pixelkicks

    (@pixelkicks)

    I always thought Pods used standard custom meta fields. Perhaps not. Thanks for the quick reply. I’ve just tested another plugin “Duplicate Posts” and this works fine with Pods.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    I’ll try testing it out sometime this week to see what happens. It’s possible it does use the default custom_meta code, but stores complex data (merging all custom fields into a single custom field with multi-leveled json arrays) and that data is somehow failing with my setup.

    If this is the case, I’ll be able to resolve it as I have fixed this issue for another plugin that does the same thing… But, it was for a custom project. I can merge that update into this plugin to account for these types of scenarios.

    What’s the action used when duplicating a post? We can assist from the Pods side too ??

    @pixelkicks is this a Table-based Pod or a Meta-based Pod? You have the option for both but Pods defaults to a Meta-based option when you create them.

    Thread Starter pixelkicks

    (@pixelkicks)

    Hi Scott, we’re extending a standard existing custom post type created in functions.php.

    @pixelkicks ok cool, so when the post is duplicated, are relationship fields added by Pods not copying or is it all custom fields you’ve added? Double check in Pods Admin > Edit what your storage type is for that pod.

    Thread Starter pixelkicks

    (@pixelkicks)

    All the custom fields are added through Pods, and none of these where duplicated when I tried yesterday.

    The storage type is Meta.

    We store our meta fields normally, as long as the post duplicator goes and gets those meta fields and saves them to the new post, it should just work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Doesnt duplicate custom meta fields with Pods’ is closed to new replies.