{"id":23530330,"url":"https://github.com/wpessential/wpessential-sidebars","last_synced_at":"2026-02-13T07:13:32.113Z","repository":{"id":252106577,"uuid":"839394930","full_name":"wpessential/wpessential-sidebars","owner":"wpessential","description":"WPEssential Sidebars helping in registry of sidebars in WordPress.","archived":false,"fork":false,"pushed_at":"2025-03-19T14:03:47.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T18:46:34.755Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpessential.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-07T14:18:06.000Z","updated_at":"2025-03-19T14:03:39.000Z","dependencies_parsed_at":"2024-08-07T19:36:04.435Z","dependency_job_id":"51ad4318-3ac4-4a5c-bb99-4cca3b66b5c8","html_url":"https://github.com/wpessential/wpessential-sidebars","commit_stats":null,"previous_names":["wpessential/wpessential-sidebars"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wpessential/wpessential-sidebars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-sidebars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-sidebars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-sidebars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-sidebars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpessential","download_url":"https://codeload.github.com/wpessential/wpessential-sidebars/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-sidebars/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259619259,"owners_count":22885468,"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":[],"created_at":"2024-12-25T21:16:38.171Z","updated_at":"2026-02-13T07:13:27.093Z","avatar_url":"https://github.com/wpessential.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPEssential Sidebars\nHelp to register the sidebars in WordPress.\n\n`composer require wpessential/wpessential-sidebars`\n\nAdd the single sidebar to WordPress registry\n\n```php\n$sidebar = \\WPEssential\\Library\\Sidebars::make();\n$sidebar-\u003eadd([\n\t'id'\t\t=\u003e'main-sidebar',\n        'name'          =\u003e esc_html__( 'WPEssential: Main Sidebar', 'wpessential' ),\n        'description'   =\u003e esc_html__( 'Widgets in this area will be shown on all posts and pages.', 'wpessential' ),\n        'title_tag' \t=\u003e 'h2'\n]);\n$sidebar-\u003einit();\n```\n\nAdd the multiple sidebars to WordPress registry\n\n```php\n$sidebar = \\WPEssential\\Library\\Sidebars::make();\n$sidebar-\u003eadds([\n    \t'main-sidebar'   =\u003e [\n        'name'          =\u003e esc_html__( 'WPEssential: Main Sidebar', 'wpessential' ),\n        'description'   =\u003e esc_html__( 'Widgets in this area will be shown on all posts and pages.', 'wpessential' ),\n        'title_tag' \t=\u003e 'h2'\n    ]\n]);\n$sidebar-\u003einit();\n```\n\nRemove the single sidebar from WordPress registry\n\n```php\n$sidebar = \\WPEssential\\Library\\Sidebars::make();\n$sidebar-\u003eremove('main-sidebar');\n$sidebar-\u003einit();\n```\n\nRemove the multiple sidebars from WordPress registry\n\n```php\n$sidebar = \\WPEssential\\Library\\Sidebars::make();\n$sidebar-\u003eremoves(['main-sidebar']);\n$sidebar-\u003einit();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpessential%2Fwpessential-sidebars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpessential%2Fwpessential-sidebars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpessential%2Fwpessential-sidebars/lists"}