How to Add Block Templates to Your WordPress Theme or Plugin

How to Add Block Templates to Your WordPress Theme or Plugin Gutenberg

While working on my Gutenberg Development Course, one of the hardest things I found to research was how to add block templates to your WordPress theme or plugin. Block templates are a way to have certain blocks show up by default for a new post, page or custom post type.  You can also "lock" the template to … Continue reading How to Add Block Templates to Your WordPress Theme or Plugin

How to Add a Custom “Color Palette” to Your WordPress Theme

How to set a custom block color scheme in your theme for Gutenberg

One of the cool things I picked up while working on my Gutenberg Development Course was how to set a default color palette for all blocks inside your theme. Interestingly, as far as I can tell, defining custom color schemes is something only a theme should do and this cannot be set from within a custom block. Block Color … Continue reading How to Add a Custom “Color Palette” to Your WordPress Theme

How to Add JavaScript and CSS to Gutenberg Blocks the Right Way in Plugins and Themes

How to Add JavaScript and CSS to Gutenberg Blocks the Right Way in Plugins and Themes

While working on my Gutenberg Editor Development Course I had a simple question early on: "How do I enqueue my block JavaScript and CSS to work with the Gutenberg Editor?" The short answer is there are two ways: enqueue_block_editor_assets - For enqueueing JavaScript and CSS in the admin editor only. enqueue_block_assets - Enqueues on both the frontend of the site … Continue reading How to Add JavaScript and CSS to Gutenberg Blocks the Right Way in Plugins and Themes

How to Redirect to Custom Page After Completing a LearnDash Course

One of the features I recently finished for the my redesign of my JavaScript for WordPress site was to have users taken to a special page once they complete a course. You can do this a number of ways, but here is how I did it:   1. Setup Congratulations Pages for Each Course The first thing I did was … Continue reading How to Redirect to Custom Page After Completing a LearnDash Course

Learn How I Built the JavaScript for WordPress Master Course and Teaching Site on the “How I Built It Podcast”

"If you're looking to setup an online course just grab this podcast!" I love hanging and chatting Joe Casabona.  Naturally, I was excited when I found out he wanted to chat with me on his How I Built it Podcast about how I built my JavaScript for WordPress Master Course. A lot of folks have asked me content related questions about … Continue reading Learn How I Built the JavaScript for WordPress Master Course and Teaching Site on the “How I Built It Podcast”

$100 Off My WooCommerce Development Workshop at WooConf 2016

I'm super excited to head out to Austin on April 6-8 this year for my 2nd WooConf.  This year I will be doing a workshop based on a WooCommerce Theme Development Course I did at Treehouse. Thanks to the folks at WooCommerce, I have an unlimited coupon code "WOOCONFZAC" for $100 off for anyone who wants to attend the conference … Continue reading $100 Off My WooCommerce Development Workshop at WooConf 2016