   ![WordCamp Vancouver 2016](/sites/default/files/styles/scale_1280/public/media/image/2020/wcyvr-2016-wide.jpg.webp?itok=D7T6d04f)  



 # WordCamp Vancouver - Do it in code!

August 29, 2016

 I presented my talk, "Do it in code!", on creating custom plugins for site structure at WordCamp Vancouver on Saturday, August 27, 2016. Here are the slides, and all the resources and links I mentioned in the presentation. I also [blogged about my thoughts](/en/article/2016/wordcamp-vancouver-wrap-up) after the presentation.

### Presentation Slides

[Do it in code! A guide to creating a custom site structure plugin in WordPress.](https://slides.rexrana.com/presentations/wcyvr2016/)

### Links and resources

[Sample Plugin](https://github.com/rexrana/my-custom-structure) - the code I demonstrated during the talk.

#### GUI-based structure plugins

- [Advanced Custom Fields](https://www.advancedcustomfields.com/)
    - Version 5 auto-saves configuration to [local JSON](https://www.advancedcustomfields.com/resources/local-json/)
    - [Register fields via PHP](https://www.advancedcustomfields.com/resources/register-fields-via-php/)
    - [Using WordPress Advanced Custom Fields Exports](https://stevegrunwell.com/blog/exploring-the-wordpress-advanced-custom-fields-export-feature/) - from 2012, may be somewhat outdated, applies to older versions, covers PHP and XML export
    - [Distributing ACF in a plugin / theme](https://www.advancedcustomfields.com/resources/including-acf-in-a-plugin-theme/)
- [Pods](http://pods.io/) framework
    - [Migrate: Packages](http://pods.io/faqs/can-i-export-my-pods-to-another-website/) (FAQ)
    - Pods Deploy - [GitHub](https://github.com/pods-framework/pods-deploy)
    - [Best Practices For Pods Deployment](http://pods.io/tutorials/pods-deployment-best-practices/) (blog post)
- [Toolset](https://wp-types.com/)
    - [Embedded Toolset](https://wp-types.com/documentation/embedded-toolset/) documentation
    - [Toolset Packager Actions and Filters](https://wp-types.com/documentation/user-guides/toolset-packager-actions-and-filters/) documentation
- [Meta Box](https://metabox.io/)

#### Developer Libraries

- **CMB2**: [GitHub](https://github.com/WebDevStudios/CMB2) - [WordPress Plugin Directory](https://en-ca.wordpress.org/plugins/cmb2/)
    - [CMB2 Metabox Generator](http://willthemoor.github.io/cmb2-metabox-generator/)
- [Carbon FIelds](https://carbonfields.net/)

#### Code Generators

- [GenerateWP](https://generatewp.com/)
- WP-CLI: [scaffold](http://wp-cli.org/commands/scaffold/) command documentation

#### Other Resources

- [CMB2: THE METABOX STRIKES BACK](http://storyftw.com/cmb2-metabox-strikes-back) - presentation by Justin Sternberg, author of CMB2
- Plugin comparison - Custom Post Types / Fields  
    (Google spreadsheet) [goo.gl/o7kU9s](https://docs.google.com/spreadsheets/d/1mSqienVYxLopTFGLPK0lGCJst2knKzXDtLQRgwjeBN8/)
- [Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/) - plugin to manage the URL structure of your custom post types



 

Tags

[WordPress](/en/tag/wordpress)

[WordCamp](/en/tag/wordcamp)

[plugins](/en/tag/plugins)

[development](/en/tag/development)

[conferences](/en/tag/conferences)