• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)
You are here: Home / Archives for WordPress Post Meta

WordPress Post Meta

Enable, Read, and Write Post Meta in WordPress Gutenberg

Last updated on January 13, 2021 by Sal Ferrarello

The WordPress block editor (a.k.a. Gutenberg) communicates with the database via the WordPress REST API. We can read and write post meta from within the Gutenberg editor after we enable the specific post meta field in the WordPress REST API.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Programming Tagged With: Gutenberg, WordPress, WordPress Post Meta

Tree with Lots of Branches Growing Out of It

Introduction to Post Meta

Last updated on October 19, 2018 by Sal Ferrarello

Extending WordPress Posts By default, WordPress posts include a Title and the Content. If we want to store additional information with a post, we need to store it somewhere. In this example, I want to look at adding a Subtitle to a post. I’ve presented this topic at conferences and the slides for my Introduction […]

Filed Under: Dev Tips, Programming Tagged With: WordPress Post Meta

Jigsaw Puzzle Pieces

CMB2 Dependency with Composer

Last updated on May 23, 2019 by Sal Ferrarello

Here is the short answer for how I installed CMB2 as a dependency with Composer for my plugin. { “require”: { “cmb2/cmb2”: “^2.2” }, “autoload” : { “files”: [ “vendor/cmb2/cmb2/init.php” ] }, “extra”: { “installer-paths”: { “vendor/cmb2/cmb2”: [“cmb2/cmb2”] } } } Details of composer.json Require The require section, tells Composer the package (and version) we […]

Filed Under: Dev Tips, Programming, Solution Tagged With: CMB2, WordPress, WordPress Plugin, WordPress Post Meta

Copyright © 2023 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in