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.
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.
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.
OBS !
There's a new plugin that might do a better job!
As described in my shaarli about the Pattern Manager, it looks like a recommended way
With BlockMeister creating custom block patterns becomes easy. The patterns can be designed just like you design a blog post or a page with the block editor.
You can assign any (custom) category or keywords. By doing so, your patterns are categorized in a way that makes sense to your users and keywords make it easier to find a pattern.