{"id":18683649,"url":"https://github.com/scify/eqafit-wordpress-theme","last_synced_at":"2025-11-07T19:30:18.858Z","repository":{"id":153219525,"uuid":"533220895","full_name":"scify/EQAFIT-WordPress-theme","owner":"scify","description":"The WordPress theme of the EQAFIT website","archived":false,"fork":false,"pushed_at":"2023-03-24T12:58:17.000Z","size":608,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-12-27T23:44:06.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scify.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-09-06T08:00:04.000Z","updated_at":"2022-09-06T08:08:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"28fad9bc-6a71-4cf7-b678-e49aac1657af","html_url":"https://github.com/scify/EQAFIT-WordPress-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FEQAFIT-WordPress-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FEQAFIT-WordPress-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FEQAFIT-WordPress-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FEQAFIT-WordPress-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scify","download_url":"https://codeload.github.com/scify/EQAFIT-WordPress-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239535367,"owners_count":19655025,"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":[],"created_at":"2024-11-07T10:15:14.470Z","updated_at":"2025-11-07T19:30:18.812Z","avatar_url":"https://github.com/scify.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/Automattic/_s.svg?branch=master)](https://travis-ci.org/Automattic/_s)\n\n# EQAFIT WordPress Theme\n\n## About\n\nThis WordPress theme is based on the popular `_s` theme template.\n\n===\n* A modern workflow with a pre-made command-line interface to turn your project into a more pleasant experience.\n* A just right amount of lean, well-commented, modern, HTML5 templates.\n* A custom header implementation in `inc/custom-header.php`. Just add the code snippet found in the comments of `inc/custom-header.php` to your `header.php` template.\n* Custom template tags in `inc/template-tags.php` that keep your templates clean and neat and prevent code duplication.\n* Some small tweaks in `inc/template-functions.php` that can improve your theming experience.\n* A script at `js/navigation.js` that makes your menu a toggled dropdown on small screens (like your phone), ready for CSS artistry. It's enqueued in `functions.php`.\n* 2 sample layouts in `sass/layouts/` made using CSS Grid for a sidebar on either side of your content. Just uncomment the layout of your choice in `sass/style.scss`.\nNote: `.no-sidebar` styles are automatically loaded.\n* Smartly organized starter CSS in `style.css` that will help you to quickly get your design off the ground.\n* Full support for `WooCommerce plugin` integration with hooks in `inc/woocommerce.php`, styling override woocommerce.css with product gallery features (zoom, swipe, lightbox) enabled.\n* Licensed under GPLv2 or later. :) Use it to make something cool.\n\nInstallation\n---------------\n\n### Requirements\n\n`_s` requires the following dependencies:\n\n- [Node.js](https://nodejs.org/)\n- [Composer](https://getcomposer.org/)\n\n### Quick Start\n\nClone or download this repository, change its name to something else (like, say, `megatherium-is-awesome`), and then you'll need to do a six-step find and replace on the name in all the templates.\n\n1. Search for `'_s'` (inside single quotations) to capture the text domain and replace with: `'megatherium-is-awesome'`.\n2. Search for `_s_` to capture all the functions names and replace with: `megatherium_is_awesome_`.\n3. Search for `Text Domain: _s` in `style.css` and replace with: `Text Domain: megatherium-is-awesome`.\n4. Search for \u003ccode\u003e\u0026nbsp;_s\u003c/code\u003e (with a space before it) to capture DocBlocks and replace with: \u003ccode\u003e\u0026nbsp;Megatherium_is_Awesome\u003c/code\u003e.\n5. Search for `_s-` to capture prefixed handles and replace with: `megatherium-is-awesome-`.\n6. Search for `_S_` (in uppercase) to capture constants and replace with: `MEGATHERIUM_IS_AWESOME_`.\n\nThen, update the stylesheet header in `style.css`, the links in `footer.php` with your own information and rename `_s.pot` from `languages` folder to use the theme's slug. Next, update or delete this readme.\n\n### Setup\n\nTo start using all the tools that come with `_s`  you need to install the necessary Node.js and Composer dependencies :\n\n```sh\n$ composer install\n$ npm install\n```\n\n### Available CLI commands\n\n`_s` comes packed with CLI commands tailored for WordPress theme development :\n\n- `composer lint:wpcs` : checks all PHP files against [PHP Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/).\n- `composer lint:php` : checks all PHP files for syntax errors.\n- `composer make-pot` : generates a .pot file in the `languages/` directory.\n- `npm run compile:css` : compiles SASS files to css.\n- `npm run compile:rtl` : generates an RTL stylesheet.\n- `npm run watch` : watches all SASS files and recompiles them to css when they change.\n- `npm run lint:scss` : checks all SASS files against [CSS Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/).\n- `npm run lint:js` : checks all JavaScript files against [JavaScript Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/).\n- `npm run bundle` : generates a .zip archive for distribution, excluding development and system files.\n\nNow you're ready to go! The next step is easy to say, but harder to do: make an awesome WordPress theme. :)\n\n\n## Self-assessment tool\n\nThis theme uses the self-assessment tool as a [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules).\n\nSo, in order to pull the changes in the submodule, run:\n\n```bash\ngit pull\n\ngit submodule update --recursive --remote --merge\n\ncd eqafit-quiz-tool/\n\nnpm install\n\nnpm run build\n```\n\nThese commands will pull and merge the changes, install any dependencies, build the submodule project, and prepare the `.js` and `.css` files.\n\n#### Setting the env variables for the self-assessment tool submodule\n\nDepending on the WordPress URL and the server configuration, we will need to \"tell\" to the self-assessment tool submodule where to locate the `data.json` file.\n\nSo, we should create a `.env.production.local` file (which is already set not to be tracked by Git), with the following contents:\n\n```bash\n#.env.production.local\n\nVITE_REST_API_AUTH_USERNAME=\nVITE_REST_API_AUTH_USERPASSWORD=\n\n```\n\n(**Note** to set the variable appropriately, this was just an example!)\n\nOnce you add the new `.env.*` file, you must run `npm run build` or `npm run serve` again.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscify%2Feqafit-wordpress-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscify%2Feqafit-wordpress-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscify%2Feqafit-wordpress-theme/lists"}