Post Metadata, Gutenberg, and SlotFills – Part 1

When I started writing this post, the idea behind it was going to be how to two things:

  1. Understand SlotFills in the context of WordPress and Gutenberg
  2. Create a SlotFill for introducing metadata

But the more I began writing, the more I recognized there’s a lot of material to cover. So in an attempt to write content that’s short, to the point, and practical (with the theory behind it coming later)

I thought I’d start with the first point and move to the next. The general idea behind what I want to do i sthis:

  • Provide a short introduction to SlotFills
  • Explain how to add your own SlotFill to WordPress
  • Save data from the user to the database (and verify it’s there)
  • Adding a column to display the post metadata in the All Articles view
  • Search the data just like you would titles and content
  • And then a short note about table prefixes

This is not a table of contents but a general guide of where I’m going with all of this. (Though feel free to bookmark this page.)

With that said, let’s started with a general introduction to SlotFills before going any further.

Continue reading “Post Metadata, Gutenberg, and SlotFills – Part 1”