{"id":19099157,"url":"https://github.com/them-es/wordpress-blocks-boilerplate","last_synced_at":"2025-04-30T15:43:33.806Z","repository":{"id":91772030,"uuid":"180784570","full_name":"them-es/wordpress-blocks-boilerplate","owner":"them-es","description":"Custom Blocks boilerplate for WordPress Themes or Plugins.","archived":false,"fork":false,"pushed_at":"2024-11-06T14:34:08.000Z","size":40,"stargazers_count":29,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-30T17:44:36.524Z","etag":null,"topics":["gutenberg","gutenberg-blocks","gutenberg-boilerplate","wordpress","wordpress-blocks"],"latest_commit_sha":null,"homepage":"https://them.es","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/them-es.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-11T12:11:30.000Z","updated_at":"2025-03-21T17:47:58.000Z","dependencies_parsed_at":"2024-07-15T14:29:25.849Z","dependency_job_id":"a3e59817-92aa-4ec7-8190-e3f97e0ec519","html_url":"https://github.com/them-es/wordpress-blocks-boilerplate","commit_stats":null,"previous_names":["them-es/wordpress-blocks-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/them-es%2Fwordpress-blocks-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/them-es%2Fwordpress-blocks-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/them-es%2Fwordpress-blocks-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/them-es%2Fwordpress-blocks-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/them-es","download_url":"https://codeload.github.com/them-es/wordpress-blocks-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249517983,"owners_count":21284869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gutenberg","gutenberg-blocks","gutenberg-boilerplate","wordpress","wordpress-blocks"],"created_at":"2024-11-09T03:48:49.791Z","updated_at":"2025-04-18T16:32:50.345Z","avatar_url":"https://github.com/them-es.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e The `main` branch is [only compatible with WordPress v6.6+](https://github.com/WordPress/gutenberg/blob/HEAD/packages/scripts/CHANGELOG.md#2800-2024-05-31).\n\n## them.es WordPress Blocks\n\n**them.es WordPress Blocks** is a WordPress \"Gutenberg\" blocks boilerplate which can be included in a theme (or plugin).\n\n## What's included?\n\n-   Gutenberg blocks configuration tested in **WordPress v6.6+**\n-   **All legacy boilerplates have been archived in the following branches: WordPress \u003c6.6 (\"v2\" branch) and WordPress \u003c5.8 (\"v1\" branch)**\n-   NPM configuration\n-   ESNext\n-   Support for a category where all custom blocks can be organized\n-   A simple \"Hello world\" block implementation is included\n-   Optional: Easily add more blocks\n\n## Setup\n\n-   Prerequisites: [Node.js](https://nodejs.org) (NPM) needs to be installed on your system\n-   [Download](https://github.com/them-es/wordpress-blocks-starter/archive/master.zip) the source code of this repository to a **new directory** (e.g. `/blocks`)\n-   Add the following code snippet to `functions.php` in your theme (or reference it in your plugin index file)\n\n```\n$theme_blocks = __DIR__ . '/blocks/index.php';\nif ( is_readable( $theme_blocks ) ) {\n\trequire_once $theme_blocks;\n}\n```\n\n-   Open the `blocks` directory in Terminal and install the required Node.js dependencies:\n-   `$ npm install`\n-   A simple `Hello world` block implementation is included to get you started. More examples can be found in the official [Gutenberg examples repository](https://github.com/WordPress/gutenberg-examples)\n-   You can include additional blocks by duplicating `/src/#####`\n-   Run the **`start`** script:\n-   `$ npm run start`\n-   Develop the block(s) by modifying `/src/#####/index.js` - the official [Gutenberg Handbook](https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/block-tutorial/writing-your-first-block-type) may help you learn how to build a custom block\n-   When you're done run the **`build`** script to create a minified version of your blocks:\n-   `$ npm run build`\n-   Test the block(s) in the WordPress Editor\n\n## Technology\n\n-   [WordPress Scripts](https://github.com/WordPress/gutenberg/tree/master/packages/scripts), [GPLv2+](https://github.com/WordPress/gutenberg/blob/master/packages/scripts/package.json)\n-   [Gutenberg](https://wordpress.org/gutenberg/handbook/designers-developers/developers), [GPLv2+](https://github.com/WordPress/gutenberg/blob/master/LICENSE.md)\n\n## Copyright \u0026 License\n\nCode and Documentation \u0026copy; [them.es](https://them.es)\n\nCode released under [GPLv2+](https://www.gnu.org/licenses/gpl-2.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthem-es%2Fwordpress-blocks-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthem-es%2Fwordpress-blocks-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthem-es%2Fwordpress-blocks-boilerplate/lists"}