-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml
More file actions
65 lines (64 loc) · 1.92 KB
/
plugin.yaml
File metadata and controls
65 lines (64 loc) · 1.92 KB
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
name: wordpress-scaffold-generic-theme
description: "Stack Wordpress :: Plugin :: Generate a generic structure for a Wordpress Theme"
display-name: Wordpress Scaffold Generic Theme
picture: plugin.png
category: backend # Ref: https://docs.stackspot.com/latest/docs/creators-guide/yaml/#category
compatibility:
- "PHP"
- Wordpress
about: docs/about.md
usage: docs/usage.md
use-case: docs/use-case.md
implementation: docs/implementation.md
technologies: # Ref: https://docs.stackspot.com/latest/docs/creators-guide/yaml/#technologies
- "Web"
types:
- app
inputs:
- label: Theme Name
type: text
name: wp_theme_name
default: "Theme Stackspot Blog"
- label: Theme URI
type: text
name: wp_theme_uri
default: "https://www.your-theme-site.com/"
- label: Version
type: text
name: wp_theme_version
default: "1.0.0"
- label: Description
type: text
name: wp_theme_description
default: "Theme Stackspot Blog - Description"
- label: Tags
type: text
name: wp_theme_tags
default: "blog, responsive"
- label: Author
type: text
name: wp_theme_author
default: "Author Name"
- label: Author URI
type: text
name: wp_theme_author_uri
default: "https://www.your-site.com/"
- label: PHP Requires
type: text
name: wp_theme_php_requires
default: "~7.4"
- label: Wordpress Compatible
type: text
name: wp_theme_compatible
default: "6.0"
- label: License
type: text
name: wp_theme_license
default: "GNU General Public License v3 or later"
- label: License URI
type: text
name: wp_theme_license_uri
default: "http://www.gnu.org/licenses/gpl-3.0.html"
computedInputs:
base_path: "{% if global_computed_inputs.src_base_path is defined and global_computed_inputs.src_base_path != '' %}{{global_computed_inputs.src_base_path}}{% else %}{{'.'}}{% endif %}"
wp_theme_name_lowercase: "{{ wp_theme_name.lower().replace(' ', '-') }}"