{"id":29617576,"url":"https://github.com/nicogill/wp-eclipse","last_synced_at":"2026-05-17T00:05:33.308Z","repository":{"id":302447504,"uuid":"1008899005","full_name":"NicoGill/wp-eclipse","owner":"NicoGill","description":"Another WordPress starter theme - Currently in development","archived":false,"fork":false,"pushed_at":"2025-07-04T16:29:34.000Z","size":2479,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-21T02:02:12.402Z","etag":null,"topics":["starter-theme","wordpress-development","wordpress-theme"],"latest_commit_sha":null,"homepage":"","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/NicoGill.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,"zenodo":null}},"created_at":"2025-06-26T09:06:27.000Z","updated_at":"2025-07-04T16:29:37.000Z","dependencies_parsed_at":"2025-07-02T12:46:31.630Z","dependency_job_id":"2bac1c45-7789-4765-8824-65fa2b887e82","html_url":"https://github.com/NicoGill/wp-eclipse","commit_stats":null,"previous_names":["nicogill/wp-eclipse"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/NicoGill/wp-eclipse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoGill%2Fwp-eclipse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoGill%2Fwp-eclipse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoGill%2Fwp-eclipse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoGill%2Fwp-eclipse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicoGill","download_url":"https://codeload.github.com/NicoGill/wp-eclipse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoGill%2Fwp-eclipse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006840,"owners_count":26084204,"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-10-11T02:00:06.511Z","response_time":55,"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":["starter-theme","wordpress-development","wordpress-theme"],"created_at":"2025-07-21T02:01:10.299Z","updated_at":"2026-05-17T00:05:33.302Z","avatar_url":"https://github.com/NicoGill.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🌕️ WordPress Eclipse theme\n\nWordPress development starter hybrid theme by (and mostly for) Nicolas Gillium, freelance web developer based in Nancy since 2014.\n\nLargely inspired by themes such as [wd_s](https://github.com/WebDevStudios/wd_s), [_s](https://github.com/Automattic/_s) \nand [air-light](https://github.com/digitoimistodude/air-light).\n\n🎯 The aim is to provide a simple but effective development base for managing frontend dependencies.\n\n⚠️ **Under development and improvement.** ⚠️\n\n## Author\n\n- [Nicolas Gillium](https://www.github.com/nicogill)\n\n## Stack\n\n- JavaScript/Build: `@wordpress/scripts` (Webpack-based build pipeline for WordPress themes/blocks)\n- Dev server: `BrowserSync` via `browser-sync-webpack-plugin` (live reload/proxy workflow)\n- Frontend assets: `Sass` + `stylelint` (`stylelint-config-standard-scss`), SVG spritemap generation (`svg-spritemap-webpack-plugin`), image optimization (`image-minimizer-webpack-plugin` + `sharp`)\n- JavaScript linting/formatting: tooling provided by `@wordpress/scripts` (ESLint + formatting commands)\n- WordPress/PHP quality: `PHP_CodeSniffer` with `WordPress Coding Standards (WPCS)` and `PHPCompatibilityWP`\n- WordPress CLI: `wp-cli/wp-cli-bundle` (including POT generation via `wp i18n make-pot`)\n- ACF development support: `php-stubs/acf-pro-stubs` for static analysis/autocomplete\n\n## `inc/` Directory Structure\n\nAll `*.php` files inside these directories are auto-loaded by `functions.php`.\n\n- `inc/functions/`: Reusable helper functions used across templates and hooks.\n- `inc/hooks/`: WordPress actions/filters integrations (core, admin, navigation, plugins, dev-only behavior).\n- `inc/setup/`: Theme bootstrap (theme supports, menus, assets enqueue, preload, ACF options pages).\n- `inc/gutenberg/`: Block editor integration (registering block assets, styles, patterns, and restrictions).\n- `inc/template-tags/`: Presentation-oriented template helpers for front-end rendering.\n- `inc/post-types/`: Place custom post type registrations here.\n- `inc/taxonomies/`: Place custom taxonomy registrations here.\n- `inc/shortcodes/`: Place shortcode definitions here.\n\nNote: `inc/post-types/`, `inc/taxonomies/`, and `inc/shortcodes/` are scaffold directories and may be empty in a fresh install.\n\n## Requirements\n\n- Node.js `\u003e= 18.12.0`\n- npm `\u003e= 8.19.2`\n- Composer `\u003e= 2.9`\n\n## Setup\n\n```bash\nnpm install\n```\n\n```bash\ncomposer install\n```\n\n### Rename This Theme\n\nClone this repository, rename the theme folder, then run a case-sensitive find/replace across the codebase (same approach as `_s`).\n\nUse these placeholders:\n\n- `your-theme-slug` (kebab-case, example: `acme-studio`)\n- `your_theme_slug` (snake_case, example: `acme_studio`)\n- `YourVendor` (PHP vendor/namespace root, example: `Acme`)\n\nRecommended replacement steps:\n\n1. Search for `'wp_eclipse'` and replace with `'your_theme_slug'` (text domain in PHP strings).\n2. Search for `wp_eclipse_` and replace with `your_theme_slug_` (prefixed PHP functions, if any).\n3. Search for `wp_eclipse-` and replace with `your_theme_slug-` (script/style handles, if any).\n4. Search for `NicoGill\\\\wp_eclipse` and replace with `YourVendor\\\\your_theme_slug` (PHP namespace).\n5. Search for `NicoGill\\\\eclipse\\\\` and replace with `YourVendor\\\\your_theme_slug\\\\` (constant namespace in `functions.php`).\n6. Search for `wp-eclipse` and replace with `your-theme-slug` (npm package name, block namespace default, repository URL).\n7. Search for `nicogill/eclipse` and replace with `yourvendor/your-theme-slug` (Composer package name).\n8. Search for `eclipse.test` and replace with your local domain (example: `acme-studio.test`) in development-only files (`webpack.config.js`, `inc/hooks/dev-only.php`).\n9. Search for `Text Domain: wp_eclipse` in `style.css` and replace with `Text Domain: your_theme_slug` (or your final text domain convention).\n\nThen update:\n\n- `style.css` theme header fields (Theme Name, URI, Author, Text Domain, Tags).\n- Translation filename (for example `build/languages/wp_eclipse.pot` to your own slug).\n- Project metadata in `package.json` and `composer.json`.\n- This README.\n\n## Development\n\nCommand | Action\n:- | :-\n`npm run start` | Builds assets and starts Live Reload and Browsersync servers\n`npm run build` | Builds production-ready assets for a deployment\n`npm run create:block` | Runs an interactive prompt to scaffold a dynamic Gutenberg block (with `render.php`) in `/blocks`\n`npm run create:block:acf` | Runs an interactive prompt to scaffold an ACF-compatible block in `/blocks`\n`npm run lint:js` | Runs JavaScript linting\n`npm run lint:js:fix` | Runs JavaScript linting with auto-fix\n`npm run lint:css` | Runs SCSS linting\n`npm run lint:css:fix` | Runs SCSS linting with auto-fix\n`npm run lint:style` | Runs stylelint on `/assets` and `/blocks`\n`npm run lint:style:fix` | Runs stylelint with auto-fix on `/assets` and `/blocks`\n`composer run format` | Runs PHP Code Beautifier and Fixer (`phpcbf`)\n`composer run lint` | Runs PHP_CodeSniffer checks (`phpcs`)\n`composer run report` | Runs a full PHP_CodeSniffer report\n`composer run pot` | Generates/updates the POT file for translations\n\n## Blocks\n\n- Source of truth is `/blocks/*` and `/assets/*`.\n- Compiled files are written to `/build` via `@wordpress/scripts`.\n- Blocks are auto-registered from `/build/blocks` on WordPress `init`.\n- ACF Pro blocks are supported via `block.json` (`acf.renderTemplate`).\n- Block scaffolding template is stored in `/inc/block-template`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicogill%2Fwp-eclipse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicogill%2Fwp-eclipse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicogill%2Fwp-eclipse/lists"}