Sarah Norris
e9cc19e9d2
Results of lint:php:fix
2023-01-27 17:27:18 +00:00
Jason Crist
61b368f55e
Refactor w/ boilerplate & encapsulate logic ( #41 )
...
* Refactor the plugin using boilerplate plugin project and attempting to better encapsulate logic.
* Allow themes to be exported in addition to creation of child themes and cloned themes.
* Disabled the plugin when a block theme is not activated.
* Exclude templates from PARENT themes when creating or exporting a child theme.
Co-authored-by: Maggie Cabrera <maggie@onemaggie.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
2022-03-04 08:29:31 -06:00
Jason Crist
4a97ce9e0d
Add function to gather CSS to be exported for themes ( #36 )
...
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Maggie Cabrera <maggie@onemaggie.com>
2022-02-24 10:00:36 -05:00
Ben Dwyer
3a6364cbc9
remove debug
2022-02-24 09:24:08 +00:00
Jason Crist
57b0b8766b
Augment Gutenberg to export theme.json according to given parameters
2022-02-23 16:30:14 +00:00
Ben Dwyer
2cfc62f322
Merge pull request #37 from Automattic/update/template-directories
...
Update the name of the folders templates and template parts are exported to.
2022-02-23 16:20:17 +00:00
Jason Crist
c634f77956
Updated from 5.8 to 5.9 for generated style.css and readme.txt files
2022-02-23 08:29:37 -05:00
Jason Crist
377bcccb34
Update the name of the folders templates and template parts are exported to.
2022-02-23 08:24:14 -05:00
Ben Dwyer
5d29869119
Remove confusing references to blockbase
2022-02-22 09:37:34 +00:00
ChaosExAnima
507901f216
Removes an errant var_dump call.
2021-12-15 14:37:23 -05:00
Ben Dwyer
f46a68d061
Add support for array keys called custom as well as user
2021-12-10 11:40:26 +00:00
Ben Dwyer
077fb05e97
remove code for blockbase children
2021-12-01 17:55:28 +00:00
Ben Dwyer
96419ce1cd
Only allow child themes of Blockbae
2021-12-01 14:31:39 +00:00
Ben Dwyer
69f9f23ef5
Determine whether functions exist before we call them
2021-11-26 13:05:30 +00:00
Ben Dwyer
6ef48583a3
Remove - replace
2021-11-25 17:29:05 +00:00
Maggie
ffccaf0779
Merge pull request #19 from Automattic/rename-_remove_theme_attribute_in_block_template_content
...
Rename function to align with Gutenberg naming
2021-11-25 09:41:07 +01:00
Ben Dwyer
654cf5a50c
remove return
2021-11-24 20:53:53 +00:00
Ben Dwyer
cb10784387
Make the theme name field required
2021-11-22 17:53:39 +00:00
Ben Dwyer
308a5089d2
Add security fixes
2021-11-22 17:52:03 +00:00
Ben Dwyer
691cd6dc8f
Rename function to align with Gutenberg naming
2021-11-19 12:05:41 +00:00
Ben Dwyer
798c790fad
revert function name change
2021-11-19 11:58:59 +00:00
Ben Dwyer
6d9cd8a046
Remove the absolute path for the form
2021-11-19 11:10:21 +00:00
Ben Dwyer
0cad225796
add a screenshot and remove the functions.php file
2021-11-17 20:23:03 +00:00
Ben Dwyer
3be40f26d3
Merge pull request #10 from Automattic/filter/templates
...
Filter templates and JSON from result when using Blockbase as base theme
2021-11-15 13:32:39 +00:00
Jason Crist
86d4d5a6e2
refactor how blockbase is checked for to possible include folders
2021-11-12 13:15:53 -05:00
Jason Crist
a953e3eefb
Refactored function to be a clearer. Flattened user JSON for blackbase generated children.
2021-11-12 13:03:38 -05:00
Maggie
57b03cb040
corrected the css file path on the generator
2021-11-12 17:09:05 +01:00
Jason Crist
e41489eefa
When theme is blockbase only export theme.json settings adjusted by the user.
2021-11-12 10:46:47 -05:00
Jason Crist
1eb35df0cd
Filter templates of blockbase from package when unmodified
2021-11-12 10:21:03 -05:00
Maggie
e4a2de75e0
combined conditions·
2021-11-12 13:17:24 +01:00
Maggie
a7f292adaf
avoid adding blockbase styles, removed unused function
2021-11-12 13:17:24 +01:00
Maggie
a94a7521ce
add current theme's css to the generated one
2021-11-12 13:17:24 +01:00
Sarah Norris
37209d7ed4
Add classes to form inputs
2021-11-12 11:28:28 +00:00
Sarah Norris
cc7e06372f
Add classes to button
2021-11-12 10:58:45 +00:00
Maggie
0c518ac30d
added meta info for the plugin and translated strings
2021-11-09 11:13:29 +01:00
Ben Dwyer
bc81f1416f
Merge pull request #3 from Automattic/generate-slug
...
Generate slug from theme name
2021-11-05 13:39:58 +00:00
Maggie
b240237faa
generate slug from theme name
2021-11-05 13:10:53 +01:00
Ben Dwyer
32749b6c4b
Add a readme.txt to the theme
2021-11-05 11:45:01 +00:00
Ben Dwyer
cd59b6e94b
Rename the page properly
2021-11-04 22:47:19 +00:00
Maggie
f5b22ea182
changed description into textarea, added placeholders
2021-10-29 14:56:54 +02:00
Ben Dwyer
d9ecd5fcee
Initial commit
2021-10-29 13:42:13 +01:00