{"id":25898449,"url":"https://github.com/sayhellogmbh/shp-migrate-areas","last_synced_at":"2025-09-05T06:37:37.207Z","repository":{"id":278788063,"uuid":"936748684","full_name":"SayHelloGmbH/shp-migrate-areas","owner":"SayHelloGmbH","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-21T17:07:19.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T10:04:17.379Z","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/SayHelloGmbH.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":"2025-02-21T16:09:29.000Z","updated_at":"2025-02-21T17:07:23.000Z","dependencies_parsed_at":"2025-02-21T18:22:47.359Z","dependency_job_id":"185e675e-14ff-4305-873c-9e1f767d80df","html_url":"https://github.com/SayHelloGmbH/shp-migrate-areas","commit_stats":null,"previous_names":["sayhellogmbh/shp-migrate-areas"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SayHelloGmbH/shp-migrate-areas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayHelloGmbH%2Fshp-migrate-areas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayHelloGmbH%2Fshp-migrate-areas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayHelloGmbH%2Fshp-migrate-areas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayHelloGmbH%2Fshp-migrate-areas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SayHelloGmbH","download_url":"https://codeload.github.com/SayHelloGmbH/shp-migrate-areas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayHelloGmbH%2Fshp-migrate-areas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273723197,"owners_count":25156302,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":"2025-03-03T00:18:49.101Z","updated_at":"2025-09-05T06:37:37.186Z","avatar_url":"https://github.com/SayHelloGmbH.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Migrate Areas\n\nMoves content from the _Arbeitsgebiete_ pages into the custom post type sht_areas. Then parse the content to remove old accordion blocks.\n\nBe careful with this code and these commands. There is no undo. Always backup your database first!\n\n## Procedure\n\n1. Activate plugin.\n2. Create taxonomies.\n3. Run e.g. `wp sht migrate areas 23 --term_id=41` to migrate all accordion blocks on page 23 to the custom post type, and assign them to term 41.\n4. Run `wp sht fix migrated areas --level=2` to migrate the formerly second-level nested accordions in the new posts to h2 / content blocks.\n5. Run `wp sht fix migrated areas --level=3` to migrate the formerly third-level nested accordions in the new posts to h3 / content blocks.\n\n## Additional\n\nAdded later, the command `wp sht switch-language` changes the language of all posts created after _today 17:30_ to French. This was because of the\nomission of the language details when creating the initial posts.\n\n## Author\n\n[Mark Howells-Mead, Say Hello GmbH](https://sayhello.ch/), since 21st Feburary 2025.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayhellogmbh%2Fshp-migrate-areas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayhellogmbh%2Fshp-migrate-areas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayhellogmbh%2Fshp-migrate-areas/lists"}