{"id":16050033,"url":"https://github.com/levdbas/baseplatehtml","last_synced_at":"2026-02-08T22:33:16.718Z","repository":{"id":11632744,"uuid":"60856191","full_name":"Levdbas/BasePlateHTML","owner":"Levdbas","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-10T17:33:50.000Z","size":3177,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T22:46:57.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","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/Levdbas.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":"2016-06-10T15:02:59.000Z","updated_at":"2024-06-05T16:00:58.000Z","dependencies_parsed_at":"2024-11-08T22:38:15.278Z","dependency_job_id":"721b7bd2-db04-43f3-ac8b-fdb295b918c8","html_url":"https://github.com/Levdbas/BasePlateHTML","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Levdbas/BasePlateHTML","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2FBasePlateHTML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2FBasePlateHTML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2FBasePlateHTML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2FBasePlateHTML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Levdbas","download_url":"https://codeload.github.com/Levdbas/BasePlateHTML/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2FBasePlateHTML/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270278628,"owners_count":24557182,"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-08-13T02:00:09.904Z","response_time":66,"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":[],"created_at":"2024-10-09T00:41:55.552Z","updated_at":"2026-02-08T22:33:16.683Z","avatar_url":"https://github.com/Levdbas.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BasePlate\n\nBasePlate is a bare theme for WordPress that includes an up-to-date assets manager via WebPack. BasePlate lends some code from Sage. By combining these two templates a lightweight (only two files, compressed ~ 330kb, featuring full bootstrap 4 css and js and [jQuery slim](https://stackoverflow.com/questions/35424053/what-are-the-differences-between-normal-and-slim-package-of-jquery)), easy to use template was created.\nIt comes with a custom WebPack build for compiling css, js, importing jQuery, Bootstrap and manages assets such as fonts and images. Last but not least, it bust caches by randomizing filenames.\n\n[![Latest Version](https://img.shields.io/github/release/Levdbas/BasePlate.svg?style=flat)](https://github.com/Levdbas/BasePlate/releases)\n\n## Features\n\n* Sass for stylesheets\n* Stylesheet in footer, critical css from ```critical.scss``` gets loaded into the header.\n* Modular JavaScript via import\n* WebPack for compiling assets, moving \u0026 optimizing images, concatenating \u0026 minifying files and last but not least, cache busting.\n* [Browsersync](http://www.browsersync.io/) for synchronized browser testing\n* [Bootstrap 4 beta](http://getbootstrap.com/)\n* [Font Awesome](http://fontawesome.io/)\n\n## Installation\n\nTo use BasePlate, you need to have PHP 7.0+ installed on your machine. You'll also need a recent version of [Node.js](https://nodejs.org/en) installed if you want to use webpack to compile your CSS and Javascript and maintain your images.\n\nInstall WordPress locally on your AMP stack with a virtual hostname, create a new folder in ```wp-content/themes``` with the desired name of your template. Clone the latest version of BasePlate inside your new folder.\n\nNext step is to set the proxy adress for BrowserSync in the webpack.config.js file.\n\nTo install required node modules:\n\n```bash\nnpm install\n```\nset correct proxy url in webpack.config.js on line 8\n\n#### How do I use webpack?\n\nRun BrowserSync and check for changes and auto-compile on the go:\n```bash\nnpm run watch\n```\nDuring development:\n```bash\nnpm run development\n```\n\nEnable cache busting, optimizing images \u0026 minifying for production use:\n```bash\nnpm run production\n```\n\n## Plugins\n\nManage\n\n[WordPress Packagist](https://wpackagist.org) comes straight out of the box with BasePlate. It mirrors the WordPress [plugin](https://plugins.svn.wordpress.org) and [theme](https://themes.svn.wordpress.org) directories as a Composer repository.\n\n#### How do I use it?\n\nRequire the desired plugin or theme using `wpackagist-plugin` or `wpackagist-theme` as the vendor name or add your plugins by adding them to composer.json.\n\n```bash\ncomposer require wpackagist-plugin/polylang\n```\nrun\n\n```bash\ncomposer install\n```\n\nto load desired plugins.\n\n#### Example\n\nThis is an example of how your `composer.json` file might look like.\n\n```json\n\"require\": {\n    \"wpackagist-plugin/polylang\": \"^2.1\",\n\n},\n```\n\nPlease visit [WordPress Packagist](https://wpackagist.org) website for more information and examples.\n\n## Helpers\nYou can import JS files into the app.js to modulize your code.\n```js\n//app.js\nimport exampleImport from './exampleImport';\n...\nexampleImport();\n//exampleImport.js\n\nfunction exampleImport(  ) {\n  ...\n}\nexport default exampleImport;\n```\n\nAsset helper:\n\n```php\ngetAssetBase'folder','file.ext'); // returns URL to asset\nassetBase'folder','file.ext'); // echoes url to asset\n```\n\n\n## Post Types\n\nFor [custom post types](https://codex.wordpress.org/Post_Types#Custom_Post_Types) we recommend looking at [Extended CPTs](https://github.com/johnbillion/extended-cpts) by [John Blackbourn](https://github.com/johnbillion). The package provides extended functionality to WordPress custom post types, allowing developers to quickly build post types without having to write the same code again and again.\n\n```php\nregister_extended_post_type('event');\n```\n\n## Custom Fields\n\nFor [custom fields](https://codex.wordpress.org/Custom_Fields) we recommend looking at the following plugins:\n\n- [Advanced Custom Fields](http://www.advancedcustomfields.com) - Powerful fields for WordPress developers.\n\n\n## License\n\n[MIT](LICENSE) © [Erik van der Bas](https://basedonline.nl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevdbas%2Fbaseplatehtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevdbas%2Fbaseplatehtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevdbas%2Fbaseplatehtml/lists"}