{"id":14954825,"url":"https://github.com/wordpress/wporg-showcase-2022","last_synced_at":"2025-07-25T02:39:15.355Z","repository":{"id":61783024,"uuid":"539342167","full_name":"WordPress/wporg-showcase-2022","owner":"WordPress","description":"The official theme of the WordPress.org showcase.","archived":false,"fork":false,"pushed_at":"2025-03-16T16:11:19.000Z","size":4155,"stargazers_count":20,"open_issues_count":26,"forks_count":7,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-05T03:05:14.402Z","etag":null,"topics":["theme","wordpress","wporg"],"latest_commit_sha":null,"homepage":"https://wordpress.org/showcase/","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/WordPress.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":"2022-09-21T06:37:12.000Z","updated_at":"2025-03-16T16:09:58.000Z","dependencies_parsed_at":"2024-01-12T03:18:55.522Z","dependency_job_id":"4fa8e702-278f-4de0-973b-db91478a24e8","html_url":"https://github.com/WordPress/wporg-showcase-2022","commit_stats":{"total_commits":543,"total_committers":7,"mean_commits":77.57142857142857,"dds":"0.39226519337016574","last_synced_commit":"7eb59e4b8bd273563f80ec999604efccbd77cdfb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WordPress/wporg-showcase-2022","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fwporg-showcase-2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fwporg-showcase-2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fwporg-showcase-2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fwporg-showcase-2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WordPress","download_url":"https://codeload.github.com/WordPress/wporg-showcase-2022/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fwporg-showcase-2022/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266945079,"owners_count":24010492,"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-07-25T02:00:09.625Z","response_time":70,"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":["theme","wordpress","wporg"],"created_at":"2024-09-24T13:09:29.026Z","updated_at":"2025-07-25T02:39:15.331Z","avatar_url":"https://github.com/WordPress.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Showcase Block Theme\n\nA block-based child theme for WordPress.org Showcase, plus local environment.\n\nThis is as-yet incomplete, a starting point.\n\n## Development\n\n### Prerequisites\n\n* Docker\n* Node/npm\n* Yarn\n* Composer\n\n### Setup\n\n1. Set up repo dependencies.\n\n    ```bash\n    yarn\n    composer install\n    yarn setup:tools\n    ```\n\n1. Start the local environment.\n\n    ```bash\n    yarn wp-env start\n    ```\n\n1. Run the setup script.\n\n    ```bash\n    yarn setup:wp\n    ```\n\n1. (optional) There may be times when you want to make changes to the Parent theme and test them with the Main them. To do that:\n    1. Clone the Parent repo and follow the setup instructions in its `readme.md` file.\n    1. Create a `.wp-env.override.json` file in this repo\n    1. Copy the `themes` section from `.wp-env.json` and paste it into the override file. You must copy the entire section for it to work, because it won't be merged with `.wp-env.json`.\n    1. Update the path to the Parent theme to the Parent theme folder inside the Parent repository you cloned above.\n\n    ```json\n    {\n    \t\"themes\": [\n    \t\t\"./source/wp-content/themes/wporg-showcase\",\n    \t\t\"./source/wp-content/themes/wporg-showcase-2022\",\n    \t\t\"../wporg-parent-2021/source/wp-content/themes/wporg-parent-2021\"\n    \t]\n    }\n    ```\n\n1. Visit site at [localhost:8888](http://localhost:8888).\n\n1. Log in with username `admin` and password `password`.\n\n### Environment management\n\nThese must be run in the project's root folder, _not_ in theme/plugin subfolders.\n\n* Stop the environment.\n\n    ```bash\n    yarn wp-env stop\n    ```\n\n* Restart the environment.\n\n    ```bash\n    yarn wp-env start\n    ```\n\n* Build the theme's JavaScript\n\n    ```bash\n    yarn workspace wporg-showcase-2022-theme build\n    ```\n\n    or, automatically build on changes:\n\n    ```bash\n    yarn workspace wporg-showcase-2022-theme start\n    ```\n\n* Reset WordPress to a clean install, and reconfigure. This will nuke all local WordPress content!\n\n    ```bash\n    yarn wp-env clean all\n    yarn setup:wp\n    ```\n\n* SSH into docker container.\n\n    ```bash\n    yarn wp-env run wordpress bash\n    ```\n\n* Run wp-cli commands. Keep the wp-cli command in quotes so that the flags are passed correctly.\n\n    ```bash\n    yarn wp-env run cli \"post list --post_status=publish\"\n    ```\n\n* Update composer dependencies and sync any `repo-tools` changes.\n\n    ```bash\n    yarn update:tools\n    ```\n\n* Run a lighthouse test.\n\n    ```bash\n    yarn lighthouse\n    ```\n\n* Check visual diffs.\n\nBackstopjs can be manually run to create reference snapshots and then check for visual differences.\n\n    ```bash\n    yarn backstop:reference\n    # change something in the code or content\n    yarn backstop:test\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Fwporg-showcase-2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress%2Fwporg-showcase-2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Fwporg-showcase-2022/lists"}