In this video, we will be building blocks in a block plugin for the WordPress Block editor also known as Gutenberg Editor.
We will create see how you can scaffold a quick blocks plugin in 2023 and use Block editor APIs to add features.
A propos License Terms
“Do I need a second license if I want to test things out on a staging or development server?”
In most simple cases a single license will suffice. In fact, if your domain name matches any of the following patterns our system will automatically assume that you are working on a staging site (and will not count it against the number of installations allowed by your license key):
TLDs:
- *.local
- *.localhost
- *.staging
- ... etc.
Subdomains:
- dev.* , *-dev.*
- wpdev.*
- webdev.*
- test.*
- staging.*
See the full list in the link
The Create Block Theme plugin has been a go-to-feature for the creation of block themes, akin to a Swiss knife. This tutorial walks block theme developers through how to use the plugin and integrat…
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
Resources for Developers, by Developers
MDN Web Docs is an open-source, collaborative project documenting Web platform technologies, including CSS, HTML, JavaScript, and Web APIs. We also provide an extensive set of learning resources for beginning developers and students.
In this tutorial we will explore how to host fonts locally in WordPress in both classic as well as with block themes.
Get Started with the Figma WordPress Design Library!
Wordpress tema styles er gemt 2 steder:
- I den primære theme.json fil for temaet,
- Her defineres temaets standard style
- Som "Theme Variations" I separate *.json filer, for hvert enkelt supplerende style
Det er værd art bemærke at det er i theme.json -filen navne i f.eks. palletten gemmes. Så vil man oprette en ny Style, der matcher temaet. Skal navne genbruges.
I TT3 temaet er standard pallette navne:
- Base
- Contrast
- Primary
- Secondary
- Tertiary
Hvis man vil lave sit eget Tema, kan det altså være en fordel at følge samme navngivning.
Se evt. How to use the WordPress Stylebook with your block theme
Og CSS-tricks har denne: How to Create Style Variations
Official Git Tutorial
The official gittutorial man page is a good place to start...
A brief/compact intro to #Git & #GitHub made easy with #VisualStudioCode
When you design beautiful block patterns for your theme, Pattern Manager by WP Engine will automatically push them into PHP files for you, every time you save. With a dedicated studio to design and build block patterns you can 10x your ability to work effectively with patterns.
See Jamie Marslands recommendation of the plugin here: Everyone should be using this FREE WordPress plugin 🔥
WordPress Legeplads
Oplev en WordPress installation, der kører udelukkende i din browser.
En hurtig måde at afprøve en idé, en block, et tema eller et plugin.
Du kan finde en introduktions video her: learn.wordpress.org/tutorial/how-to-start-using-wordpress-playground/
Fuld dokumentation er tilgængelig på github: WordPress Playground
Via developer.wordpress.org kan man opsætte med forskellige forudvalgte temaer og plugins:
developer.wordpress.org/playground/demo/
Det er også muligt at forudinstallere plugins eller temaer fra WordPress plugin-biblioteket ved at tilføje et plugin- eller tema-parameter til URL'en. For eksempel kan Gutenberg plugin installeres med denne URL:
https://playground.wordpress.net/?plugin=gutenberg
Dette kaldes Query API, og du kan lære mere om det her.
ℹ️ - PLUGIN-MAPPE VIRKER IKKE I WORDPRESS PLAYGROUND
Plugins skal installeres manuelt, fordi dit WordPress-websted ikke sender nogen data til internettet. Du vil ikke være i stand til at navigere i WordPress-plugin-mappen inde i /wp-admin/. Query API-metoden kan synes at modsige det, men bag kulisserne bruger den den samme plugin-uploadform, som du ville.
Create your own chatbot with just a description and a click
CREATING DUMMY CONTENT
Normally a WordPress developer will need to perform the task of filling up an empty theme with dummy content, and doing this manually can be really time consuming, the main reasons this plugin was created was to speed up this process.
Previously I've shared how to add Dummy Content in WordPress using the build-in XML-Import feature.
Then while commuting from work, I followed Sarah Snow's workshop How to create a video tutorial about WordPress. Where she mentioned this plugin.
Seems to be at better solution.
In this step-by-step tutorial, learn how to use Git and GitHub for source control management (SCM). We start with Git. What is it? How you can get it running on your system, and how you can start working with it? Then we look at GitHub.com, a platform for hosting and collaborating on Git repositories. By the end of this video, you'll be well on your way to using Git and GitHub.
Power your WordPress with AI!
Generate content, enhance it, improve your SEO, add a ChatGPT-like chatbot, etc.
Jamie Marsland made a review of this WordPress plugin. And it's worth exploring !
Artificial Intelligense (AI) are booming, and here it's used via a plugin in WordPress.
MEOW APPS provides good support and documentation for how the plugin can be used.
See also the Tutorial !
See for instance the : How To: Fine-tune or Train an AI model for your WordPress ChatBot
Interesting to explore!
To set up your development environment can be a hassle - especially if you try to do it en a MS Windows environment !
In the Introduction to Block Development: Build your first custom block, there is a guide to Set up your development environment.
You'll need the node/npm installed! But in the Set up your development environment, there's not any direct description on how to do this on Windows.
The guide recommends using NVM (Node Version Manager) to handle different versions of Node. Unfortunately, NVM is mostly supported on Linux and Mac (Uses POSIX-compliant shell). It should work through WSL (Windows Subsystem for Linux) depending on the version of WSL.
This tutorial shows a WordPress recommended way !
The way recommended here:
If you’re on a Windows machine, you will need to install the Chocolatey package manager for Windows to install nvm. First open PowerShell with administrative privileges by right-clicking on the PowerShell menu item and selecting Run as Administrator. Then browse to the Chocolatey setup documentation and scroll down to the Install with PowerShell instructions. Copy the instructions and right-click in the PowerShell window to paste them.
See the Video or read the Video Transcript to learn more.
This guide is for setting up your local environment for JavaScript development for creating plugins and tools to extend WordPress and the block editor.
In the course: Introduction to Block Development: Build your first custom block the 2nd lesson Set up your development environment
gives also recommendations for choise of IDE.
A development environment is a catch-all term for what you need setup on your computer to work.
This guide for setting up the local environment is based on Ubuntu and using the curl command.
Good to know:
cURL (Client URL) comes pre-installed on Windows and macOS — otherwise, you can download the package from the cURL website.
Microsoft ships curl too
Curl is also shipped by Microsoft as part of Windows 10 and 11.
Gutenberg is a codename for a whole new paradigm in WordPress site building and publishing, that aims to revolutionize the entire publishing experience as much as Gutenberg did the printed word.
You will find this Handbook to be an essential resource as you develop your skills and also for when you want to take things further.
Step-by-step tutorial on building a Gutenberg block.
The course will provide you with a solid foundation in developing custom blocks for Gutenberg and will arm you with the concepts and knowledge that you will need to go on to work on your own Gutenberg block projects.