{"id":19084079,"url":"https://github.com/fmikl/wp-options-page","last_synced_at":"2026-04-14T07:33:53.301Z","repository":{"id":210435683,"uuid":"722613533","full_name":"FmiKL/wp-options-page","owner":"FmiKL","description":"A lightweight PHP class for creating custom options pages in the WordPress admin area.","archived":false,"fork":false,"pushed_at":"2026-02-09T07:58:12.000Z","size":28,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-09T13:30:58.500Z","etag":null,"topics":["wordpress-developer","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FmiKL.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-23T14:23:02.000Z","updated_at":"2026-02-09T07:58:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8177e6c-230c-4fcf-ba72-f8c870e1dcfb","html_url":"https://github.com/FmiKL/wp-options-page","commit_stats":null,"previous_names":["fmikl/wp-options-page"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FmiKL/wp-options-page","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FmiKL%2Fwp-options-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FmiKL%2Fwp-options-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FmiKL%2Fwp-options-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FmiKL%2Fwp-options-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FmiKL","download_url":"https://codeload.github.com/FmiKL/wp-options-page/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FmiKL%2Fwp-options-page/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31787022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["wordpress-developer","wordpress-development","wordpress-theme"],"created_at":"2024-11-09T02:50:00.972Z","updated_at":"2026-04-14T07:33:53.296Z","avatar_url":"https://github.com/FmiKL.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Options Page\n\nA lightweight PHP class for creating custom options pages in the WordPress admin area.\n\n## Features\n\n- Text, email, url, number, color, checkbox, textarea, select fields\n- Group fields into sections\n- Media library integration via placeholder keywords\n- Automatic image size selection\n- Built-in sanitization per field type\n\n## Setup\n\n```php\nrequire_once 'path/to/wp-options-page/class-option-page.php';\n```\n\n## Usage\n\n```php\n$option = new Option_Page( 'Site Settings', 'site_settings' );\n\n$option-\u003eadd_section( 'general', 'General' );\n\n$option-\u003eadd_field( 'text', 'site_tagline', array( 'label' =\u003e 'Tagline', 'section' =\u003e 'general' ) );\n$option-\u003eadd_field( 'color', 'brand_color', array( 'label' =\u003e 'Brand color', 'section' =\u003e 'general' ) );\n\n$option-\u003eadd_field( 'email', 'contact_email', array( 'label' =\u003e 'Email' ) );\n$option-\u003eadd_field( 'select', 'layout', array( 'label' =\u003e 'Layout', 'choices' =\u003e array( 'grid', 'list' ) ) );\n```\n\n## License\n\n[GPL v2](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmikl%2Fwp-options-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmikl%2Fwp-options-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmikl%2Fwp-options-page/lists"}