Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
WordPress Gutenberg Blocks for Beginners.
Rating: 4.2 out of 5(84 ratings)
480 students

WordPress Gutenberg Blocks for Beginners.

Learn how to code blocks from scratch for Gutenberg, the new WordPress editor.
Created byLee Shadle
Last updated 2/2019
English
English [Auto],

What you'll learn

  • You'll be able to build blocks from scratch for Gutenberg, the new WordPress editor.
  • You'll be able to set up your development environment for building Gutenberg blocks.
  • You'll feel very comfortable using the command line to copy, create, delete, and move files and directories.
  • You'll be able to build a WordPress plugin from scratch.
  • You'll know how to create an easy to maintain, scalable architecture for your Gutenberg blocks.
  • You'll know how to use your blocks in both plugin and production environments.

Course content

8 sections42 lectures4h 12m total length
  • Introduction7:44

    Learn to build five Gutenberg blocks from scratch in WordPress, including static, editable, and media upload blocks, while setting up a development environment and creating production-ready plugins.

  • Setting up Mamp2:57

    Set up a local WordPress environment with MAMP by configuring port 8888, enabling Apache and PHP, and installing WordPress into the htdocs directory for Gutenberg block development.

  • Setting up and using the Command Line4:31

    Learn to install and start using the command line on Mac or Windows, navigate directories, and set up Node.js and npm for building WordPress Gutenberg blocks with React.

  • Installing Node.js2:21

    Install Node.js and npm to run WordPress Gutenberg blocks, verify versions on Mac or Windows, and perform npm cache clean, then explore installing a text editor.

  • Getting a Text Editor2:56

    Choose and set up a text editor, with Sublime Text or Visual Studio Code, and enable Babel/JSX syntax highlighting via package control for efficient WordPress Gutenberg block development.

  • Installing WordPress8:44

    Install WordPress by downloading the latest version from wordpress.org, set up a local database, create a user, generate salts, and configure wp-config to begin Gutenberg blocks development.

  • Installing Gutenberg1:40

    Install the Gutenberg plugin in WordPress 5.0, activate it, and verify the editor works. Get familiar with the interface as we prepare to create blocks in a plugin.

  • Creating a WordPress plugin4:30

    Create a WordPress plugin for Gutenberg blocks by adding a PHP file with a header comment and plugin header, then set up a block-examples directory to start building blocks.

Requirements

  • Be familiar with WordPress.
  • A desktop Mac or Windows computer is required.
  • Be familiar with HTML, CSS, JavaScript, React and PHP. None of these are required, but knowing a little about each will definitely help.

Description

This course is for anyone who wants to learn how to build Gutenberg blocks from scratch.  Are you a WordPress theme developer?  Are you a WordPress plugin developer?  Do you build WordPress websites?  Then you really need to check this course out.

In the not so distant future WordPress is going to be releasing a new editor codenamed Gutenberg.  This new editor will replace the existing TinyMCE wysiwyg editor with the goal of making it easy to create rich page and post layouts.

What the heck is a Gutenberg block?  Great question!  These new rich page and post layouts will be built using a collection of blocks.  A Gutenberg block is then just a piece of a website.  A block could be as simple as a button.  Or a button with different customization options.  Or a button with a form to subscribe to a newsletter.  Or a header with a customizable background image.  Get it?!

In this course we walk you through every step of creating a block, from setting up your local development environment to installing WordPress, building your first block in development, and finally preparing your your block plugin for production with lots of opportunities to get really comfortable with the command line and other modern javascript dependencies such as webpack and the Node.js package manager NPM.  

We teach you everything you need, and nothing you don't. 

Who this course is for:

  • Anyone who wants to learn how to build blocks from scratch, for the new Gutenberg editor for WordPress.
  • Anyone beginning block development for the new Gutenberg editor for WordPress.
  • Anyone who wants to learn how to build a WordPress plugin.
  • Anyone who wants to get more familiar with using React and WordPress.
  • Anyone who wants to get more comfortable with using the command line, the NPM package ecosystem, and webpack.