• Resolved kayapati

    (@kayapati)


    Can any one guide us how to import PODS CPTs settings in one click demo, we are working on a theme in which we have created one click demo option for our client to import dummy content like CPT posts, pages and standard posts.

    Right now we are using Migrate Component and import the pods settings data. but we do not want to use migrate component and want to import PODS data using my one click demo.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    Since you’re wanting to do configuration and data, I would suggest looking at WP All Import, some kind of cloning tool (for a website) or WP DB Migrate.

    We don’t offer anything of this nature, other than the Pods Component, Migrate Packages component, which you can call in code to import a Pods Configuration, but that will not include importing dummy content. We probably won’t offer the latter as that’s mostly outside of our primary product scope, though you’re welcome to suggest that as an enhancement through our GitHub repo:
    https://github.com/pods-framework/pods/issues/new

    Thread Starter kayapati

    (@kayapati)

    Migrate Packages component, which you can call in code to import a Pods Configuration

    yes, this is what we need, can you provide us any resource url to look into this?

    Right now we can import wordpress posts and pages easily, but can not import the pods configurations.

    Exactly what we need is, when we send theme to our clients, they do not need to enable the migrate component and import the pods settings instead of that we are planning to include this pods configurations settings in our existing one click demo option.

    Otherwise our clients need to 2 step process, first they need to import pods configurations and 2nd import the xml demo data, we want only 1 step process to get all these pods settings and import xml demo content at a time.

    Plugin Contributor Jim True

    (@jimtrue)

    Take a look at this particular function in the Pods API:
    https://pods.io/docs/code/pods-api/import-package/

    It imports the JSON package from Pods Admin, Components, Migrate: Packages. You should be able to package that up in your theme, do the activation for the Pods plugin and call that package migration to import the Pods Configuration and then run your import.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pods CPTs importing in one click demo.’ is closed to new replies.