• Resolved nkatla

    (@nkatla)


    Hi, I want to build a custom theme with some custom post-types, having custom fields. Now I’ll be putting that theme for download with pods plugin via TGM.

    But how to make sure that after users install my theme and see those custom types,fields?

    Do I have to bundle Wp all export with the theme too? or its there a built in functions for exporting importing pods data?

    Any different approach that you’d like to suggest?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    I would not recommend embedding Pods and other plugins for themes only because of security updates being very difficult to keep up with as time goes on.

    However, if you wanted to register Pods configurations (excluding non-simple relationship fields and table-based Pods) then you can use pods_register_type( $type, $name, $options ); where $type is post_type|taxonomy|user and you can use pods_register_field( $pod_name, $name, $options );

Viewing 1 replies (of 1 total)
  • The topic ‘Bundling Pods with TGM but what about the data?’ is closed to new replies.