See https://github.com/WordPress/wporg-main-2022/issues/266 — Rosetta sites use posts, so before rolling out the main theme, it needs to support posts & archives. This PR cleans up the templates, and moves some of the content out of the HTML templates into translatable php patterns.
Screenshots
Before (large)
Before (small)
After (large)
After (small)
/news/
Category
Single
How to test the changes in this Pull Request:
Sync this branch to a sandbox, optionally plus this wporg-main-2022 PR (will add the local header).
Update mu-plugins/rosetta-network/2022-theme-switcher.php to enable the new theme — use this file, which also updates the Latest News block on the homepage.
View any rosetta site's /news/ and click around though posts. For example
See https://github.com/WordPress/wporg-main-2022/issues/266 — Rosetta sites use posts, so before rolling out the main theme, it needs to support posts & archives. This PR cleans up the templates, and moves some of the content out of the HTML templates into translatable php patterns.
Screenshots
How to test the changes in this Pull Request:
mu-plugins/rosetta-network/2022-theme-switcher.php
to enable the new theme — use this file, which also updates the Latest News block on the homepage./news/
and click around though posts. For example