{"id":50446802,"url":"https://github.com/troychaplin/tidbits","last_synced_at":"2026-05-31T22:02:01.515Z","repository":{"id":349794212,"uuid":"1200074921","full_name":"troychaplin/tidbits","owner":"troychaplin","description":"Flexible blocks for organizing and displaying bite-sized paired content.","archived":false,"fork":false,"pushed_at":"2026-05-19T02:14:36.000Z","size":3955,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T04:33:09.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/troychaplin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T02:29:03.000Z","updated_at":"2026-05-19T02:14:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/troychaplin/tidbits","commit_stats":null,"previous_names":["troychaplin/tidbits"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/troychaplin/tidbits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Ftidbits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Ftidbits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Ftidbits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Ftidbits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troychaplin","download_url":"https://codeload.github.com/troychaplin/tidbits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Ftidbits/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33750474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-05-31T22:02:00.657Z","updated_at":"2026-05-31T22:02:01.501Z","avatar_url":"https://github.com/troychaplin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"assets/github-banner.jpg\" alt=\"A purple image with floating description lists\" style=\"width: 100%; height: auto;\"\u003e\n\n# Tidbits\n\n**Flexible blocks for organizing and displaying bite-sized paired content in WordPress.**\n\nTidbits gives editors a dedicated space to create short, paired content -- FAQs, glossary terms, quick tips, fun facts -- and display them anywhere on the site using a block with three layout options.\n\n## Features\n\n- **Three display modes** -- Accordion (collapsible), Stacked (vertical list), and Columns (two-column grid) -- selected at the block level and applied consistently to all items\n- **Dedicated Tidbit post type** -- Content lives in its own post type, separate from pages and posts, so editors can manage it independently\n- **Flavour taxonomy** -- Organize tidbits into categories for easy management in the admin\n- **Hand-pick content** -- Search and select individual tidbit posts from a combobox in the editor. No shortcodes, no query blocks, just direct selection\n- **Duplicate prevention** -- The editor automatically filters out tidbits already used by sibling blocks, preventing accidental repeats\n- **Live editor preview** -- The block editor shows a real preview of each layout mode, including a working accordion toggle\n- **Animated accordion** -- Smooth CSS-only expand/collapse animation using `grid-template-rows` with no JavaScript layout thrashing\n- **WordPress Interactivity API** -- Accordion state is managed declaratively using the standard WordPress Interactivity API, not custom DOM manipulation\n- **Themeable with CSS tokens** -- All visual properties (colors, spacing, font weights, column widths, animation speed) are exposed as CSS custom properties that themes can override\n- **Accessible by default** -- Semantic `\u003cdl\u003e` markup, `\u003cbutton\u003e` triggers, `aria-expanded`, `aria-controls`, `role=\"region\"`, and keyboard-navigable\n- **Wide and full-width alignment** -- Supports WordPress block alignment options with proper layout integration\n\n## Requirements\n\n- WordPress 6.6 or later\n- PHP 7.0 or later\n\n## Quick Start\n\n1. **Install the plugin** -- Upload to `wp-content/plugins/tidbits` and activate\n2. **Create some Tidbits** -- Go to **Tidbits** in the admin sidebar and add posts. Each post is a term (title) and definition (content)\n3. **Organize with Flavours** -- Optionally assign Flavour taxonomy terms to group related tidbits\n4. **Add the block** -- In the block editor, insert the **Tidbits** block\n5. **Pick a layout** -- Choose Accordion, Stacked, or Columns from the block sidebar under Display Settings\n6. **Select posts** -- Each Morsel child block lets you search and select a Tidbit post\n7. **Add more** -- Click the block appender to add additional Morsel blocks\n\n## Display Modes\n\n**Accordion** -- Each tidbit is a collapsible item with a chevron indicator. Content is hidden by default and expands with a smooth animation on click. Best for FAQs and content where users scan titles before reading.\n\n**Stacked** -- A simple vertical list showing both the term and content. Every item is always visible. Best for glossary terms, definitions, or short reference content.\n\n**Columns** -- A two-column grid with the term on the left and content on the right. Responsive: collapses to a single column on small screens. Best for metadata, specifications, or key-value style content.\n\n## Documentation\n\nDetailed documentation is available in the [`docs/`](docs/) directory:\n\n- [Getting Started](docs/getting-started.md) -- Installation and first steps\n- [Blocks](docs/blocks.md) -- Parent and child block architecture\n- [Display Modes](docs/display-modes.md) -- Layout options and markup output\n- [Custom Post Type](docs/custom-post-type.md) -- Tidbit posts and Flavour taxonomy\n- [Theming](docs/theming.md) -- CSS custom properties and theme overrides\n- [Interactivity API](docs/interactivity-api.md) -- How the accordion works\n- [Accessibility](docs/accessibility.md) -- ARIA attributes and semantic markup\n- [Development](docs/development.md) -- Build commands and project structure\n\n## License\n\nGPL-2.0-or-later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Ftidbits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroychaplin%2Ftidbits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Ftidbits/lists"}