In an upcoming course on Theming with Gutenberg I felt it was important to tackle the phrase "Gutenberg Compatible" that has come up in various discussions in the community as well as with some new themes being marketed as "Gutenberg Compatible." The take away from the video is summed up in this quote from one of … Continue reading What Does “Gutenberg Compatible Theme” Mean?
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
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
While working on an SEO for WordPress course recently, I was looking for a way to manually add meta descriptions to a theme from the functions.php file. After playing around a bit, I came up with this solution: https://gist.github.com/zgordon/950159056d2ad299b0ee This of course raises the bigger question of why would you want to do this instead of … Continue reading How to Add Meta Descriptions to WordPress Themes Using functions.php
Big thanks to Micah Wood for his article showing how to load conditional stylesheets the right way via the functions.php file. Thanks Micah for the great post!
I have been a big Gravity Forms supporter for a long time, however, I'm beginning to get more interested in Ninja Forms, which is a free WordPress form builder and also quite powerful. If you decide to build your WP forms with Ninja Forms, you may find the ninja_forms_display_form() function helpful since it let's … Continue reading Hardcode a Ninja Form in Your WordPress Theme
Today I had the honor to do a 1hr 45min talk on How to Learn Web Design and Development via WordPress. Here are the slides: https://speakerdeck.com/zgordon/learn-web-design-and-development-via-wordpress-wordcamp-phoenix-2014 And the example site I used is here: wptreehouse.com/treehouse-tours
Rock on to the folks at WP Tuts for staying up to date on publishing WordPress theme tutorials! Here is the latest in their series: Creating a WordPress Theme From Static HTML: Preparing the Markup Creating a WordPress Theme From Static HTML: Creating Template Files Creating a WordPress Theme From Static HTML: Uploading Your Theme … Continue reading Learn WP from Static HTML to Custom Theme