{"id":19565817,"url":"https://github.com/bikubi/wp-effortfulaccordion","last_synced_at":"2026-05-08T06:53:04.514Z","repository":{"id":68473875,"uuid":"180994611","full_name":"bikubi/wp-effortfulaccordion","owner":"bikubi","description":"A WordPress plugin. Transforms content-with-headings into an accordion, tabbed content or columns.","archived":false,"fork":false,"pushed_at":"2023-03-10T10:32:38.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-18T18:42:26.908Z","etag":null,"topics":["accordion","bootstrap","wordpress","wordpress-plugin"],"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/bikubi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2019-04-12T11:29:04.000Z","updated_at":"2020-04-28T12:55:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ec8c027-d745-464a-9848-dfc170bf8f8a","html_url":"https://github.com/bikubi/wp-effortfulaccordion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bikubi/wp-effortfulaccordion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikubi%2Fwp-effortfulaccordion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikubi%2Fwp-effortfulaccordion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikubi%2Fwp-effortfulaccordion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikubi%2Fwp-effortfulaccordion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bikubi","download_url":"https://codeload.github.com/bikubi/wp-effortfulaccordion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikubi%2Fwp-effortfulaccordion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32770544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["accordion","bootstrap","wordpress","wordpress-plugin"],"created_at":"2024-11-11T05:28:32.693Z","updated_at":"2026-05-08T06:53:04.491Z","avatar_url":"https://github.com/bikubi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Effortful Accordion\n\nA WordPress plugin. Transforms content-with-headings into an accordion, tabbed content or columns.\n\n## Config\n\nThe plugin looks for a configuration file in your theme, since the layout depends on the theme.\nPut it in the most convenient of following places:\n\n```sh\n.../wp-content/yourtheme/wp-effortfulaccordion-config.php\n.../wp-content/yourtheme/lib/wp-effortfulaccordion-config.php # sage 8\n.../wp-content/yourtheme/app/wp-effortfulaccordion-config.php # sage 9\n```\n\n## Usage\n\nThe main function `content_split`, as well as the Shortcode, take two optional parameters:\n\n1. `mode`, defaults to `accordion`. Check the code for other values and the markup this produces.\n2. `h`, which is the HTML heading-level at which the content is split. Range: `1`-`6`, defaults to `2`, meaning \"split at `\u003ch2\u003e`s\".\n\n##Setup implicit/automatic content transformation\n\nTo run, say, on each page, or each page with template Foo, filter `the_content`, running the content through the main function.\nSee `config-example.php`.\n\nFor **accordions**, define your preferred Bootstrap version (3 and 4 are supported) like so:\n\n```php\ndefine('bootstrap_version', 4);\n```\n\nIf you don't use Bootstrap in your theme, you can `wp_*_enqueue` `effortfulaccordion.js` and `effortfulaccordion.css`, which contain the relevant bits. In this case, `bootstrap_version` must be `3`.\n\n## Explicit content transformation via Shortcode\n\n```html\nContent content content.\n[accordion mode=\"accordion\" h=\"2\"]\n\u003ch2\u003eFirst heading\u003ch2\u003e\nContent related to the first heading.\n\u003ch2\u003eSecond heading\u003c/h2\u003e\nContent related to the second heading.\n[/accordion]\nMore content content content.\n```\n\n## TODO\n\n* Only modes `accordion`, `wrap`, `outerwrap` and `doublewrap` are tested.\n* Makefile (?) for effortfulaccordion.scss→css\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbikubi%2Fwp-effortfulaccordion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbikubi%2Fwp-effortfulaccordion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbikubi%2Fwp-effortfulaccordion/lists"}