{"id":19774375,"url":"https://github.com/wpperformance/wp-performance-theme","last_synced_at":"2025-04-30T18:33:09.627Z","repository":{"id":58650872,"uuid":"528366695","full_name":"wpperformance/wp-performance-theme","owner":"wpperformance","description":"Theme of WP Performance WebSite","archived":false,"fork":false,"pushed_at":"2024-09-10T15:12:43.000Z","size":6217,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T11:46:36.649Z","etag":null,"topics":["gutenberg","gutenberg-theme","tailwindcss","vitejs","wordpress","wordpress-theme"],"latest_commit_sha":null,"homepage":"https://wp-performance.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpperformance.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":"2022-08-24T10:09:01.000Z","updated_at":"2024-09-10T15:16:04.000Z","dependencies_parsed_at":"2024-07-12T16:33:06.228Z","dependency_job_id":"6870ab37-a488-4623-8492-9227667fe2e5","html_url":"https://github.com/wpperformance/wp-performance-theme","commit_stats":null,"previous_names":["wpperformance/wp-performance-theme"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fwp-performance-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fwp-performance-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fwp-performance-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpperformance%2Fwp-performance-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpperformance","download_url":"https://codeload.github.com/wpperformance/wp-performance-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224219485,"owners_count":17275477,"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":["gutenberg","gutenberg-theme","tailwindcss","vitejs","wordpress","wordpress-theme"],"created_at":"2024-11-12T05:12:46.892Z","updated_at":"2024-11-12T05:12:47.655Z","avatar_url":"https://github.com/wpperformance.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Performance theme based on Press Wind FSE\n\nMinimal starter theme for WordPress with Tailwind CSS and Vite JS for Full\nSite Editing.\n\n## Concept\n\nThis theme is build for work with gutenberg.\nIt's thinked for use concept of pattern.\nA example of pattern is in ```patterns``` directory.\nThe theme.json is used for the settings of theme.\nThe fonts pass by the new WP font loader. Not by CSS or TailwindCSS.\n\n## plugins required\n\nFor use ViteJS\n\n- https://github.com/WP-Performance/presswind-plugin\n\n## Plugin recommended\n\nor disable lots of WP core functionality\n\n- https://github.com/WP-Performance/deaktiver\n\n## PHP/HTML files\n\nThis theme is developed for use Full Site Editing.\n\n## Dependencies\n\n- [PostCSS](https://postcss.org/)\n- [TailwindCSS](https://tailwindcss.com/) - optional. You can use only postcss.\n- [ViteJS](https://vitejs.dev/)\n\n## Requirement\n\n- Node JS (\u003e18)\n- Npm, yarn, pnpm or Bun !\n\n## Quick Start\n\nIn the root of press-wind theme\n\nInstall dependencies\n\n```\nyarn or bun install\n```\n\nIn your ```wp-config.php``` file, add :\n\n```\n# for dev\ndefine('WP_ENV', 'development');\n# for production\ndefine('WP_ENV', 'production');\n```\n\n### With Vitejs, you have a dev server include. When you change a file, the browser reload the page.\n\n## Scripts\n\nLaunch dev mode\n\n```\nyarn dev\n```\n\nBuild the assets\n\n```\nyarn build\n```\n\n## Enqueue Scripts and Styles\n\nThe script and the style are automatically enqueued in theme.\nCode present in functions.php\n\n```php\n/**\n * init assets front\n */\nif (class_exists('PressWind\\PWVite')) {\n\n    \\PressWind\\PWVite::init(port: 3000, path: '');\n    /**\n     * init assets admin\n     */\n    \\PressWind\\PWVite::init(\n        port: 4444,\n        path: '/admin',\n        position: 'editor',\n        is_ts: false\n    );\n}\n```\n\n## CSS writing style\n\nYou must use ```@apply``` method for create the CSS style\nIt's better for reusability of your code and the readability.\n\nExample :\n\n```\n.site-header {\n  @apply flex my-4 lg:my-10 lg:items-center lg:flex-row flex-col;\n}\n```\n\n**But you can use the method by the class attribute, if you prefer. Be careful\nto keep maintainable project.**\n\n## Screenshot\n\n![https://github.com/WP-Performance/press-wind/blob/main/screenshot.png](https://github.com/WP-Performance/press-wind/blob/main/screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpperformance%2Fwp-performance-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpperformance%2Fwp-performance-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpperformance%2Fwp-performance-theme/lists"}