Tag Archives: Custom Fields

April 2015 Slides: Advanced Custom Fields

Things change rapidly in the WordPress world. The content in this post is more than a year old and may no longer represent best practices.

What can you do with Advanced Custom Fields Pro? An awful lot, but not quite everything.

It’s definitely worth the $100 for the developer license for the Flexible Content Field, Repeater Field, and Gallery Field, but remember that custom fields don’t replace custom post types and that you can’t search on custom fields.

ACF is definitely a tool for developers: the fields won’t display if you don’t add code to your template, and the layouts don’t style themselves. (Plus those gallery tutorials require jQuery.)

There’s an ACF Demo Site to go with Sallie’s presentation.

Included in the ACF Presentation/Demo Site

  • Creating ACF Field Groups and Displaying Fields
  • Using Repeater Fields in a Portfolio
  • Creating Sliders and Galleries with the ACF Pro Gallery Field
  • Building Page Layouts with Flexible Content Fields
  • Building Page Layouts without Flexible Content Fields
  • Replacing the Header Right Widget Text
  • Displaying ACF Field Keys
  • Using ACF for Front-end Posting

Don’t forget to look at the handout for links to the tutorials used to create this presentation.

More ACF

In addition, Anca Mosoiu demonstrated exporting ACF Field Groups to PHP (in order to keep clients from editing the field groups) and to XML (for import into new WordPress installs). You can also export field groups as .json files so that you can re-use them on other sites.

Anca also showed us the amazing proliferation of post_meta database rows when one uses ACF. On the wine database site she’s building, there are 2211 posts…and 187,000 post_meta rows.

April 2015 Meetup Handout: ACF and ACF Pro Links

Things change rapidly in the WordPress world. The content in this post is more than a year old and may no longer represent best practices.

Here are the links I found while preparing for the April 2015 Meetup on Advanced Custom Fields and ACF Pro.

I used some of these tutorials to create the demo site, but have not had a chance to follow up on all of them.

Note that tutorials on Sridhar Katakam’s site require a paid subscription. It’s only $10/month and totally worth it if you develop for the Genesis Framework.

General ACF and ACF Pro Tutorials

ACF Pro Gallery, Slideshow and Content Slider Tutorials

ACF Pro Page Template/Layout Tutorials

ACF Videos

November 2012 Handout: Custom Field & Metabox Resources

Things change rapidly in the WordPress world. The content in this post is more than a year old and may no longer represent best practices.

Codex References

Tutorials

Plugins

The presenters mentioned some useful plugins when managing custom fields and creating custom metaboxes. There are many more available in the WordPress Plugin Repository.

  • Types: Creates Custom Post Types, Custom Taxonomies, & Custom Fields/Metaboxes. Used by Sallie on the BACN website.
  • Meta Box by Deluxe Blog Tips provides the JavaScript necessary for things like date-pickers and time selectors. You still need to code your actual metaboxes, but it speeds up development. Tutorials available.
  • Advanced Custom Fields. Similar to Meta Box, but also lets you create your metaboxes through the WordPress admin.
  • WP Alchemy MetaBox PHP Class. Not precisely a plugin, though you can make it into one or bundle it into one if you want.
  • Custom Field Bulk Editor. Very handy if you decide halfway through your project that you want to rename one of your custom fields, or remove it.

Any Additions?

If you have a favorite plugin, code snippet, or tutorial, post it in the comments.

November 2012 Slides: How to Do Custom Meta Boxes by Greg Turner

Things change rapidly in the WordPress world. The content in this post is more than a year old and may no longer represent best practices.

Greg Turner described the way he uses the Meta Box plugin to help him create custom metaboxes on client sites. His presentation slides took the form of a custom theme design. I can embed the presentation here, but it doesn’t scale, so it’s better to go visit the site: http://cmb.zenofwp.com.

[iframe http://cmb.zenofwp.com 620 600]