-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
114 lines (85 loc) · 3.63 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
=== buddysphere ===
Contributors: wbcomdesigns
Tested up to: 6.3
Requires at least: 6.3
Requires PHP: 7.4
Version: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Copyright: wbcomdesigns
A full site editing theme. Advanced version.
== Guide ==
=== Folder structure ===
- Assets. Images, JavaScript, and CSS files.
- Inc. Filters, fonts, block variations, registered block styles.
- Parts. HTML template parts.
- Patterns. Block pattern examples.
- Styles. Global style variations.
- Templates. HTML block templates.
functions.php -Used to enqueue styles and add theme support.
index.php -"Silence is golden"
style.css -Required to activate the theme.
theme.json -Settings and default styles.
license.txt -GPL v2
readme.txt -Information about the theme.
screenshot.png
=== Tooling ===
Note, the tools are optional and requires:
node minimum version 14.15.0
npm from 6.14.8 up to 7. It will not work with higher versions.
You can install the tools by opening your terminal in the themes root folder
and entering the following commands:
npm install
composer install
==== CSS ====
This theme includes both human-readable and minified CSS inside the assets/css folder.
For improved performance, the theme loads the minified CSS on the front and in the editor.
To make changes to the CSS:
1) Edit the human readable CSS file (the .css file that does not end with .min.css)
2) Minify the CSS by running the command: gulp
To add additional block styles:
1) Create a new CSS file inside the assets/css/blocks folder.
Use the slug of the block as the file name: latest-comments.css
2) Next, open functions.php and add the slug to the $styled_blocks array inside the setup function.
3) Minify the CSS with the command: gulp
To watch for changes, use the command: gulp watch
To compare your code against the CSS coding standards, use the command: npm run lint:css
==== PHP ====
To compare your code against the PHP coding standards,
use the command: composer standards:check
For PHPStan analysis, use the command: composer analyze
==== JavaScript ====
To compare your code against the JavasCript coding standards,
use the command: npm run lint:js
== Changelog ==
1.0.0 Initial release
== Licence ==
buddysphere is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
== Resources used to build this theme ==
* Lora (font)
Copyright 2011 The Lora Project Authors
License: SIL Open Font License, 1.1
License URI: https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
* Twenty Twenty-Two WordPress theme (C) WordPress.org
License: GNU General Public License v2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Q WordPress theme (C) Ari Stathopoulos
License: GNU General Public License v2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Full site editing starter theme by Carolina Nymark
https://fullsiteediting.com
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Images
Images from pxhere.com. Public domain:
https://pxhere.com/en/photo/927190 -woman with curly hair
https://pxhere.com/en/photo/1049910 -woman with t-shirt
https://pxhere.com/en/photo/1604358 -woman with headphones