Commit 32ab6b7
authored
feat: Complete Template Refactoring with Patterns, Template Parts, and WordPress Design Tokens (#814)
* Add quotation icon for reviews
* Add new pattern for review cards
* Make sure template-parts are registered for the current theme
* Use wp variable names for colors
* Fix sticky menu colors
* Add sticky behaviour to sticky menu
* Refactor single tour template with patterns and template parts
* Remove border-radius from card images
* Remove section wrapper from travel-information, keep just the content cards
* Refactor single destination template with patterns and template parts
* Remove fallback values, they were breaking the editor rendering
* Don't hide itinerary and units field if they exist
* Show placeholder image if not featured image is set
* Update placeholder path
* Hide travel information section when no card is visible
* Fix spacings in single destination, refactor country and region singles
* Refactor single accommodation template with patterns and template parts
* Show price info only when price set and different than 0
* Add better defaults, fix variables
* Refactor archive templates with patterns and template parts
* Remove sticky header, use defaults
* Remove queryIDs and local paths
* Remove the search page template as it was not working
* Update changelog
* Remove debug logging from template parts registration and creation
* Remove registration of deleted template
* Implement coderabbit feedback
* Update changelog
* Minor fixes
* Fix caret's position on expand
* Add missing wrapper classes, fix html tag
* Remove trailing space and duplicate css class1 parent 7148c78 commit 32ab6b7
File tree
37 files changed
+1177
-2937
lines changed- build
- blocks
- icons
- includes/classes
- blocks
- frontend
- legacy
- patterns
- src
- blocks
- icons
- source-icons/solid
- css
- templates
37 files changed
+1177
-2937
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
38 | 62 | | |
39 | 63 | | |
40 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments