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”

Privacy is Hard: Web Browsing with 1Blocker

When it comes to privacy and web browsing, I’ve talked Firefox in a previous post. In the same post, I also stated:

I’m actually a fan of Safari for casually browsing the web. That browser coupled with 1Blocker makes it a solid alternative.

As far as Firefox is concerned, I still think it’s a fantastic browser but if you’re looking for a seamless experience between macOS and iOS 1Blocker alternative solution that I’ve been using for a few weeks.

The motivation for privacy (which I’ve previously shared) still stands but it may not be the same for you. I’m approaching it with the following attitude:

  • what I’m comfortable with using may not be the same for you (and vice versa),
  • and privacy and security are not terms that I use interchangeably.

That said, the rationale for using software like this alongside a browser that’s bundled with an operating system (remember when that was a big deal?) rather than a third-party browser is different.

Continue reading “Privacy is Hard: Web Browsing with 1Blocker”

How To Enter Your SSH Passphrase Once

The idea behind have an SSH passphrase is security and I’m all for that. When it comes to working on a large project where you’re pulling updates from a repository and running composer update to make sure all of the associated packages are updated, it gets a little tedious, though.

Assuming you’re comfortable with wanting to enter your SSH phrase once (so you’re not having to do it for every single dependency you’re installing), it’s really easy to store the passphrase.

Continue reading “How To Enter Your SSH Passphrase Once”