{"id":15630058,"url":"https://github.com/palmiak/timber-acf-wp-blocks","last_synced_at":"2025-04-12T21:22:44.847Z","repository":{"id":46081727,"uuid":"189738290","full_name":"palmiak/timber-acf-wp-blocks","owner":"palmiak","description":"Create Gutenberg blocks from Twig templates and ACF fields.","archived":false,"fork":false,"pushed_at":"2024-05-17T19:26:57.000Z","size":110,"stargazers_count":246,"open_issues_count":28,"forks_count":28,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-04T00:11:28.889Z","etag":null,"topics":["hacktoberfest","twig-templates"],"latest_commit_sha":null,"homepage":"https://palmiak.github.io/timber-acf-wp-blocks/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/palmiak.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-01T13:50:17.000Z","updated_at":"2025-03-10T12:16:48.000Z","dependencies_parsed_at":"2024-10-22T13:25:55.633Z","dependency_job_id":null,"html_url":"https://github.com/palmiak/timber-acf-wp-blocks","commit_stats":{"total_commits":77,"total_committers":8,"mean_commits":9.625,"dds":"0.49350649350649356","last_synced_commit":"a5d3eacf4ba6b8f7fe7467298320bcdc544d7ace"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmiak%2Ftimber-acf-wp-blocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmiak%2Ftimber-acf-wp-blocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmiak%2Ftimber-acf-wp-blocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmiak%2Ftimber-acf-wp-blocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palmiak","download_url":"https://codeload.github.com/palmiak/timber-acf-wp-blocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248632535,"owners_count":21136707,"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":["hacktoberfest","twig-templates"],"created_at":"2024-10-03T10:29:57.754Z","updated_at":"2025-04-12T21:22:44.828Z","avatar_url":"https://github.com/palmiak.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"timber-wp-acf-blocks.png\"\u003e\n\u003c/p\u003e\n\n# Timber ACF WP Blocks\nGenerate ACF Gutenberg blocks just by adding templates to your Timber theme. This package is based heavily on [this article](https://medium.com/nicooprat/acf-blocks-avec-gutenberg-et-sage-d8c20dab6270) by [nicoprat](https://github.com/nicooprat) and the [plugin](https://github.com/MWDelaney/sage-acf-wp-blocks) by [MWDelaney](https://github.com/MWDelaney).\n\n## Complete documentation\n[Read the complete documentation](https://palmiak.github.io/timber-acf-wp-blocks/#/)\n\n## Contributors\nThis plugin is build with help of contributors:\n- [roylodder](https://github.com/roylodder)\n- [BrentWMiller](https://github.com/BrentWMiller)\n- [Marcin Krzemiński](https://github.com/marcinkrzeminski)\n- [Kuba Mikita](https://github.com/Kubitomakita)\n- [LandWire](https://github.com/landwire)\n- [Viktor Szépe](https://github.com/szepeviktor)\n\n\n## Creating blocks\nAdd twig templates to `views/blocks` which get and use ACF data. Each template requires a comment block with some data in it:\n```twig\n{#\n  Title: Testimonial\n  Description: Customer testimonial\n  Category: formatting\n  Icon: admin-comments\n  Keywords: testimonial quote \"customer testimonial\"\n  Mode: edit\n  Align: left\n  PostTypes: page post\n  SupportsAlign: left right\n  SupportsMode: false\n  SupportsMultiple: false\n#}\n\n\u003cblockquote data-{{ block.id }}\u003e\n    \u003cp\u003e{{ fields.testimonial }}\u003c/p\u003e\n    \u003ccite\u003e\n      \u003cspan\u003e{{ fields.author }}\u003c/span\u003e\n    \u003c/cite\u003e\n\u003c/blockquote\u003e\n\n\u003cstyle type=\"text/css\"\u003e\n  [data-{{ block.id }}] {\n    background: {{ fields.background_color }};\n    color: {{ fields.text_color }};\n  }\n\u003c/style\u003e\n```\n\n## Timber 2.0\n**Timber ACF WP Blocks** is fully compatible with both **Timber 1.x** and **Timber 2.x** versions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalmiak%2Ftimber-acf-wp-blocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalmiak%2Ftimber-acf-wp-blocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalmiak%2Ftimber-acf-wp-blocks/lists"}