• Resolved thevikas

    (@thevikas)


    I got the php output after using Export to Code addon in Pods.
    Now I do I use that php? Where/How do I set it up?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @thevikas

    Why did you export to PHP in the first place?
    If you are not familiar with PHP I would advice you to keep using Pods instead of PHP to create your custom post types etc.

    Cheers, Jory

    Thread Starter thevikas

    (@thevikas)

    I needed to do deployment on my staging server. And the project is on-going so pods/fields will keep changing for some time. I do not want to manually create the pods on that server. I just need a simple way, which also gets tracked by git.
    So exporting to php seemed a good idea that I add in the git repo.

    I am a php dev.

    Plugin Author Jory Hogeveen

    (@keraweb)

    I assume you’ve used this plugin: https://github.com/pods-framework/pods-export-code

    Keep in mind that this hasn’t been maintained for over 7 years. I’m quite sure it won’t work anymore.
    But, if it does, you can create your own plugin from the exported code or include it in your theme.
    Again, this is old legacy code and most likely isn’t supported by the current version of Pods.

    Cheers, Jory

    Gnegreiros

    (@gnegreiros)

    Hi,

    Same question here.
    Pods-export-code doesn’t work.

    How can I export Pods to create my own plugin?

    Thank you,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to use code generated from Export to Code plugin’ is closed to new replies.