-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit df0e72a
Showing
19 changed files
with
28,715 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
# WordPress Coding Standards | ||
# https://make.wordpress.org/core/handbook/coding-standards/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
|
||
[*.{yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Output of `npm pack` | ||
*.tgz | ||
|
||
# Output of `wp-scripts plugin-zip` | ||
*.zip | ||
|
||
# dotenv environment variables file | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"key": "group_603533d8eb114", | ||
"title": "Custom Links", | ||
"fields": [ | ||
{ | ||
"key": "field_60353f306a6a8", | ||
"label": "", | ||
"name": "", | ||
"type": "message", | ||
"instructions": "", | ||
"required": 0, | ||
"conditional_logic": 0, | ||
"wrapper": { | ||
"width": "", | ||
"class": "", | ||
"id": "" | ||
}, | ||
"message": "Add ONE PDF, page link (internal link) or external link.", | ||
"new_lines": "wpautop", | ||
"esc_html": 0 | ||
}, | ||
{ | ||
"key": "field_60353f176a6a7", | ||
"label": "External Link", | ||
"name": "cl_external_link", | ||
"type": "url", | ||
"instructions": "", | ||
"required": 0, | ||
"conditional_logic": 0, | ||
"wrapper": { | ||
"width": "", | ||
"class": "", | ||
"id": "" | ||
}, | ||
"default_value": "", | ||
"placeholder": "" | ||
}, | ||
{ | ||
"key": "field_603533e197488", | ||
"label": "PDF Link", | ||
"name": "cl_pdf_link", | ||
"type": "file", | ||
"instructions": "", | ||
"required": 0, | ||
"conditional_logic": 0, | ||
"wrapper": { | ||
"width": "", | ||
"class": "", | ||
"id": "" | ||
}, | ||
"return_format": "url", | ||
"library": "all", | ||
"min_size": "", | ||
"max_size": "", | ||
"mime_types": "" | ||
}, | ||
{ | ||
"key": "field_603534275ed32", | ||
"label": "Page Link", | ||
"name": "cl_page_link", | ||
"type": "page_link", | ||
"instructions": "", | ||
"required": 0, | ||
"conditional_logic": 0, | ||
"wrapper": { | ||
"width": "", | ||
"class": "", | ||
"id": "" | ||
}, | ||
"post_type": "", | ||
"taxonomy": "", | ||
"allow_null": 0, | ||
"allow_archives": 1, | ||
"multiple": 0 | ||
}, | ||
{ | ||
"key": "field_6035341553205", | ||
"label": "Notes", | ||
"name": "cl_notes", | ||
"type": "text", | ||
"instructions": "Optional - add notes that will display in the link lists", | ||
"required": 0, | ||
"conditional_logic": 0, | ||
"wrapper": { | ||
"width": "", | ||
"class": "", | ||
"id": "" | ||
}, | ||
"default_value": "", | ||
"placeholder": "", | ||
"prepend": "", | ||
"append": "", | ||
"maxlength": "" | ||
} | ||
], | ||
"location": [ | ||
[ | ||
{ | ||
"param": "post_type", | ||
"operator": "==", | ||
"value": "custom_link" | ||
} | ||
] | ||
], | ||
"menu_order": 0, | ||
"position": "acf_after_title", | ||
"style": "default", | ||
"label_placement": "top", | ||
"instruction_placement": "label", | ||
"hide_on_screen": "", | ||
"active": true, | ||
"description": "", | ||
"modified": 1614211699 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 2, | ||
"name": "carkeek-blocks/custom-link-list", | ||
"version": "0.1.0", | ||
"title": "Custom Link List", | ||
"category": "widgets", | ||
"icon": "smiley", | ||
"description": "Example block scaffolded with Create Block tool.", | ||
"supports": { | ||
"html": false, | ||
"anchor": true | ||
}, | ||
"keywords": [ | ||
"link", | ||
"list", | ||
"accordion" | ||
], | ||
"textdomain": "carkeek-blocks", | ||
"editorScript": "file:./index.js", | ||
"style": "file:./style-index.css", | ||
"attributes": { | ||
"sortBy": { | ||
"type": "string", | ||
"default": "title" | ||
}, | ||
"order": { | ||
"type": "string", | ||
"default": "ASC" | ||
}, | ||
"groupByChild": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"makeCollapsible": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"makeTitlesCollapsible": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"listSelected": { | ||
"type": "string" | ||
}, | ||
"hideIfEmpty": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"emptyMessage": { | ||
"type": "string" | ||
}, | ||
"headline": { | ||
"type": "string" | ||
}, | ||
"headlineLevel": { | ||
"type": "number", | ||
"default": 2 | ||
}, | ||
"primaryContent": { | ||
"type": "string", | ||
"default": "links" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'f08c1cb2fc39ace359c9'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.wp-block-create-block-example-dynamic{background-color:#21759b;color:#fff;padding:2px} |
Oops, something went wrong.