{"id":22151011,"url":"https://github.com/justcoded/wordpress-theme-boilerplate","last_synced_at":"2025-07-26T04:31:41.751Z","repository":{"id":53460778,"uuid":"111415847","full_name":"justcoded/wordpress-theme-boilerplate","owner":"justcoded","description":"WordPress theme boilerplace with improved classes-based code structure, theme wrapper and security patches","archived":false,"fork":false,"pushed_at":"2021-03-30T08:08:55.000Z","size":2700,"stargazers_count":53,"open_issues_count":6,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-09T20:09:53.733Z","etag":null,"topics":["boilerplate","wordpress","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/justcoded.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}},"created_at":"2017-11-20T13:45:25.000Z","updated_at":"2024-07-22T21:15:49.000Z","dependencies_parsed_at":"2022-09-15T23:20:30.963Z","dependency_job_id":null,"html_url":"https://github.com/justcoded/wordpress-theme-boilerplate","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-theme-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-theme-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-theme-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-theme-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justcoded","download_url":"https://codeload.github.com/justcoded/wordpress-theme-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227651473,"owners_count":17799186,"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":["boilerplate","wordpress","wordpress-theme"],"created_at":"2024-12-02T00:29:43.686Z","updated_at":"2024-12-02T00:29:45.517Z","avatar_url":"https://github.com/justcoded.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Theme Boilerplate\n\nThis package contains Theme Boilerplate, which has a lot of improvements and security patches, according to \nstandard WordPress theme boilerplates (like underscore, etc.). The code is object-oriented and works with PSR-4 autoload. \n\n## Requirements\n\n* PHP 7.0+\n* [WordPress Theme Framework](https://github.com/justcoded/wordpress-theme-framework) plugin.\n\nTheme core files (base classes) are presented as separate wordpress plugin package \ncalled [WordPress Theme Framework](https://github.com/justcoded/wordpress-theme-framework). They were\nmoved as a plugin to provide easier support and updates population through different site installations.\n\nThis solution makes possible to deliver new updates and hot fixes without modifying the theme code.\n\n## What's Inside?\n\n### Better File Structure\nThe organization of a theme is very similar to modern PHP Frameworks. We totally separated registration of hooks and components, query logic, and the templates.\n\nWe tried to keep as much standard WordPress features as possible, so all \"views\" work in the same Template\nHierarchy as standard templates, just grouped by content types (with folders).\n\n![File structure](https://github.com/justcoded/wordpress-theme-boilerplate/wiki/assets/boilerplate-file-structure.png)\n\n### Template Inheritance\n\nWe added modern template inheritance system based on layouts (very similar to Laravel and Yii frameworks). \nSome WordPress developers call it a \"Theme Wrapper\". Markup is handled by one layout file \n(or more if needed) instead of being scattered across all template files as in typical themes.\nStay \u003cabbr title=\"Don't repeat yourself\"\u003eDRY\u003c/abbr\u003e!\n\n### Security and Optimization\n\nTheme files are nice and clean, and Theme Framework has a lot of hooks to make your WordPress more secure and keep the final generated HTML clean and optimized.\n\n### Documentation\n\n[Read our Wiki](https://github.com/justcoded/wordpress-theme-boilerplate/wiki) to find out all features.    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fwordpress-theme-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustcoded%2Fwordpress-theme-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fwordpress-theme-boilerplate/lists"}