{"id":21374432,"url":"https://github.com/yeraph-plus/aiya-cms-theme-framework","last_synced_at":"2025-10-25T23:17:48.805Z","repository":{"id":210697826,"uuid":"726688439","full_name":"yeraph-plus/aiya-cms-theme-framework","owner":"yeraph-plus","description":"一个用于为 WordPress 主题创建设置页面、分类 Meta 字段和文章 MetaBox 组件的选项框架","archived":false,"fork":false,"pushed_at":"2025-03-07T15:07:55.000Z","size":2538,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T16:23:36.621Z","etag":null,"topics":["aiya-cms","framework-php","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/yeraph-plus/aiya-cms-wordpress-theme","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yeraph-plus.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":"2023-12-03T04:36:56.000Z","updated_at":"2025-03-07T15:07:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e98cd84-f34d-41d3-82f3-df50eaeaffb5","html_url":"https://github.com/yeraph-plus/aiya-cms-theme-framework","commit_stats":null,"previous_names":["yeraph-plus/aiya-theme-core","yeraph-plus/aiya-cms-theme-core","yeraph-plus/aiya-cms-theme-framework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeraph-plus%2Faiya-cms-theme-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeraph-plus%2Faiya-cms-theme-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeraph-plus%2Faiya-cms-theme-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeraph-plus%2Faiya-cms-theme-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeraph-plus","download_url":"https://codeload.github.com/yeraph-plus/aiya-cms-theme-framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847056,"owners_count":20357317,"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":["aiya-cms","framework-php","wordpress","wordpress-plugin"],"created_at":"2024-11-22T08:42:25.148Z","updated_at":"2025-10-25T23:17:48.675Z","avatar_url":"https://github.com/yeraph-plus.png","language":"PHP","readme":"## AIYA-Framework / AIYA-Optimize-Plugin\r\n\r\n### 说明\r\n\r\n这个项目是为了将 AIYA-CMS 主题的开发工作分支出来而专门设计的，你可以认为这是一个不包含前台页面组件的 AIYA-CMS 主题。\r\n\r\n所以简单介绍一下这个项目，这是一个用于 WordPress 主题的设置选项框架 + 一整套的预置功能，可以为其他人制作WP主题提供一个良好的快速开始选项。\r\n\r\n框架的设计和提供的功能类似于Codestar-Framework，但轻（jian）量（lou）的多。目前已支持为 WordPress 主题创建设置页面、创建分类 Meta 字段、创建文章 Meta 字段，另外对 WprdPress 小工具提供了一个用于简化创建的构造器。\r\n\r\n预置功能分两部分，一部分是用于制作主题时添加功能的简化函数（注册主题页面路由、菜单、自定义文章类型等），另一部分是一套完整的“WordPress 优化插件”，包含大部分常见的优化功能（WP功能禁用、WP主查询修改、WP安全性设置、以及SEO拓展、头像加速、STMP等）。\r\n\r\n---\r\n\r\n![截图](https://github.com/yeraph-plus/aiya-wordpress-theme-core/blob/main/screenshot/2024-06-01%20001416.png)\r\n\r\nA WordPress theme framework, can be use to create settings option pages, category Meta fields, and article MetaBox components, also provides some quick launch features.\r\n\r\nThere is a short demo of building this framework:\r\n\r\n1. Copy the entire `framework-required` directory copy in the theme's directory.\r\n2. Add require following to your theme `functions.php`:\r\n\r\n```\r\n//Require framework file\r\nrequire_once get_template_directory() . '/framework-required/setup.php';\r\n//The sample-config\r\nrequire_once get_template_directory() . '/framework-required/sample-config.php';\r\n```\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeraph-plus%2Faiya-cms-theme-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeraph-plus%2Faiya-cms-theme-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeraph-plus%2Faiya-cms-theme-framework/lists"}