Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WordPress Styling with Blocks, Patterns, Templates, and Themes

You're reading from   WordPress Styling with Blocks, Patterns, Templates, and Themes Explore WordPress styling with step-by-step guidance, practical examples, and tips

Arrow left icon
Product type Paperback
Published in Feb 2024
Publisher Packt
ISBN-13 9781804618509
Length 270 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Tammie Lister Tammie Lister
Author Profile Icon Tammie Lister
Tammie Lister
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Part 1: Styling and Design Tools
2. Chapter 1: Introducing Blocks FREE CHAPTER 3. Chapter 2: Block Design Tools 4. Chapter 3: Block Styles 5. Chapter 4: Blocks and Styles Wrap-Up 6. Part 2: Block Patterns
7. Chapter 5: Understanding Block Patterns 8. Chapter 6: Discovering and Creating Block Patterns 9. Chapter 7: Discovering the WordPress Pattern Directory 10. Chapter 8: Wrapping Up Patterns 11. Part 3: Template Parts and Templates
12. Chapter 9: An Introduction to Site Editing 13. Chapter 10: Discovering and Creating Template Parts 14. Chapter 11: Discovering and Creating Templates 15. Chapter 12: Templates Wrap-Up 16. Part 4: Themes
17. Chapter 13: Understanding How Themes Have Changed 18. Chapter 14: Discovering Styles 19. Chapter 15: Discovering WordPress Block Themes 20. Chapter 16: Wrapping Up Themes 21. Index 22. A Book That You May Enjoy

Creating your own patterns

Creating patterns is easy, and you can do this within the interface. Let’s dive in by creating a pattern by just using the interface. You can do this now. Previously, you had to create a pattern and then save it in a theme. Now you can manage everything within the editor itself – cool! For this example, we will use Twenty Twenty-Four as a theme as we have done in other walk-throughs.

  1. Let’s create a simple pattern by selecting a group block. We will use a new post or page to do this to start afresh. Most patterns start with a container of some form. The group block, cover, or columns are great foundations. Of course, you can try different options as well. As you can see in this screenshot, once you select that block, you have the option to add other blocks inside.
Figure 6.1 – A group block to create a pattern

Figure 6.1 – A group block to create a pattern

  1. Let’s take the preceding block and add some things inside. We’...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime